mpv/demux
wm4 5f41fbb6d9 demux: correctly report buffered size as 0 if there are no packets
Since the demuxer cache addition, ds->queue->head can actually be set to
non-NULL, but the decoder can still be at EOF (with no packets to come).
This made it report an unknown buffered size, instead of 0. Fix this by
checking the decoder part of the packet queue instead.

Probably doesn't matter much, but fixes an annoying "???" on the CLI
status line in some situations.
2018-03-08 17:12:32 -08:00
..
codec_tags.c demux_mkv: remove incorrect comment 2017-06-03 23:23:35 +02:00
codec_tags.h
cue.c cue: strip quotes and leading whitespace from tags 2018-01-30 14:01:15 +01:00
cue.h
demux.c demux: correctly report buffered size as 0 if there are no packets 2018-03-08 17:12:32 -08:00
demux.h demux: add a per stream wakeup callback 2018-01-30 03:10:27 -08:00
demux_cue.c demux: get rid of DEMUXER_CTRL_GET_TIME_LENGTH 2017-06-20 14:22:10 +02:00
demux_disc.c demux_disc: fix bluray subtitle language retrieval 2017-07-16 19:02:35 +02:00
demux_edl.c demux_edl: fix undefined behavior if mp4 init segment is not provided 2018-03-03 02:38:01 +02:00
demux_lavf.c demux_lavf: add some hacks for SDP 2018-03-03 02:38:01 +02:00
demux_libarchive.c
demux_mf.c build: switch preliminary LGPL mode from v3 to v2.1 2017-10-05 15:57:30 +02:00
demux_mkv.c demux_mkv: enable libavcodec parser for eac3 2018-03-03 02:38:01 +02:00
demux_mkv_timeline.c demux: get rid of DEMUXER_CTRL_GET_TIME_LENGTH 2017-06-20 14:22:10 +02:00
demux_null.c demux_null: mark as seekable 2018-01-06 14:42:22 -08:00
demux_playlist.c demux_playlist: support .url files 2017-11-12 15:51:48 +01:00
demux_rar.c
demux_raw.c demux_raw: change license to LGPL 2017-06-24 13:56:53 +02:00
demux_timeline.c demux_timeline: disable pointless packet cache for sub-demuxers 2017-12-10 06:37:49 +02:00
demux_tv.c tv: Recognise v4l2 'JPEG' fourcc 2018-03-04 16:28:24 -08:00
ebml.c Fix various typos in log messages 2017-12-03 21:24:18 +01:00
ebml.h demux_mkv: rewrite packet reading to avoid 1 memcpy() 2017-11-05 18:13:34 +01:00
matroska.h ebml, matroska.h: change license to LGPL 2017-04-21 13:34:10 +02:00
packet.c video: make decoder wrapper a filter 2018-01-30 03:10:27 -08:00
packet.h demux_mkv: rewrite packet reading to avoid 1 memcpy() 2017-11-05 18:13:34 +01:00
stheader.h demux_mkv: add hack to pass along x264 version to decoder 2017-12-28 00:59:22 -07:00
timeline.c
timeline.h