1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/demux
wm4 a49ab7cc2f demux: make determining seek capability generic
Instead of having each demuxer do it (only demux_mkv actually did...),
let generic code determine whether the file is seekable. This requires
adding exceptions to demuxers where the stream is not seekable, but the
demuxer is.

Sort-of try to improve handling of unseekable files in the player. Exit
early if the file is determined to be unseekable, instead of resetting
all decoders and then performing a pointless seek.

Add an exception to allow seeking if the file is not seekable, but the
stream cache is enabled. Print a warning in this case, because seeking
outside the cache (which we can't prevent since the demuxer is not aware
of this problem) still messes everything up.
2013-11-03 19:21:47 +01:00
..
codec_tags.c demux_mkv: add support for HEVC 2013-10-16 00:47:52 +02:00
codec_tags.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
demux_cue.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
demux_edl.c demux: remove useless author/comment fields 2013-07-12 22:16:27 +02:00
demux_lavf.c demux: make determining seek capability generic 2013-11-03 19:21:47 +01:00
demux_libass.c demux: make determining seek capability generic 2013-11-03 19:21:47 +01:00
demux_mf.c demux: make determining seek capability generic 2013-11-03 19:21:47 +01:00
demux_mkv.c demux: make determining seek capability generic 2013-11-03 19:21:47 +01:00
demux_mng.c demux: remove unused audio_delay parameter from demux_seek() 2013-08-22 19:14:26 +02:00
demux_packet.h demux: workaround for -demuxer mpegts -correct-pts 2013-05-21 22:07:13 +02:00
demux_playlist.c demux_playlist: add mov RTSPtext tag parser 2013-09-14 15:58:10 +02:00
demux_raw.c demux: remove movi_start/movi_end fields 2013-11-03 18:50:00 +01:00
demux_subreader.c demux: make determining seek capability generic 2013-11-03 19:21:47 +01:00
demux.c demux: make determining seek capability generic 2013-11-03 19:21:47 +01:00
demux.h demux: remove movi_start/movi_end fields 2013-11-03 18:50:00 +01:00
ebml.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
ebml.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
matroska.h demux_mkv: add support for HEVC 2013-10-16 00:47:52 +02:00
mf.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
mf.h
ms_hdr.h demux: rename Windows symbols 2013-11-02 15:14:12 +01:00
stheader.h demux: rename Windows symbols 2013-11-02 15:14:12 +01:00