mpv/demux
wm4 cb642e7c84 player: slightly better cache underrun detection
Use the "native" underrun detection, instead of guessing by a low cache
duration. The new underrun detection (which was added with the original
commit) might have the problem that it's easy for the playloop to miss
the underrun event. The underrun is actually not stored as state, so if
the demuxer thread adds a new packet before the playloop happens to see
the state, it's as if it never happened. On the other hand, this means
that network was fast enough, so it should be just fine.

Also, should it happen that we don't know the cached range (the
ts_duration < 0 case), just wait until the demuxer goes idle (i.e.
read_packet() decides to stop). This pretty much should affect broken or
unusual files only, and there might be various things that could go
wrong. But it's more robust in the normal case: this situation also
happens when no packets have been read yet, and we don't want to
consider this as reason to resume playback.
2014-08-27 23:12:49 +02:00
..
codec_tags.c demux: add "BIKb" FourCC 2014-04-08 22:59:53 +02:00
codec_tags.h
demux.c player: slightly better cache underrun detection 2014-08-27 23:12:49 +02:00
demux.h player: better cache status on status line 2014-08-27 23:12:47 +02:00
demux_cue.c
demux_disc.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_edl.c
demux_lavf.c demux_lavf: don't reject av:// if cache is enabled 2014-08-27 23:12:49 +02:00
demux_libass.c demux_libass: change how external ASS subtitles are loaded 2014-03-15 22:17:51 +01:00
demux_mf.c demux_mf: allow seeking past the end 2014-07-30 00:23:16 +02:00
demux_mkv.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_playlist.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
demux_raw.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_subreader.c demux: fix timestamp type for seek calls 2014-07-21 19:29:58 +02:00
demux_tv.c demux: minor simplification 2014-07-06 19:02:21 +02:00
ebml.c demux: minor cleanups 2014-07-01 21:53:23 +02:00
ebml.h demux: minor cleanups 2014-07-01 21:53:23 +02:00
matroska.h demux_mkv: add S_DVBSUB 2014-06-17 22:44:27 +02:00
mf.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
mf.h demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
ms_hdr.h
packet.c demux: always use AVPacket 2014-08-25 00:46:26 +02:00
packet.h demux: always use AVPacket 2014-08-25 00:46:26 +02:00
stheader.h demux: add a demuxer thread 2014-07-16 23:25:56 +02:00