mpv/demux
wm4 8ff2058681 demux_mkv: fix incremental indexing with single-keyframe files
This is another regression of the recently added start time probing. If
a seek is executed after opening the file (but before reading any
packets), the first block is discarded instead of indexed. If there are
no other keyframes in the file, seeking will fail completely.

Fix it by seeking to the cluster start if there aren't any index entries
yet. This will read the skipped packet again.

Fixes #2498.
2015-11-17 21:43:35 +01:00
..
codec_tags.c demux: mime types are case-insensitive 2015-06-21 18:21:21 +02:00
codec_tags.h demux_mkv: support embedded coverart 2014-12-22 12:53:51 +01:00
cue.c cue: read more metadata 2015-10-01 21:57:35 +02:00
cue.h cue: read more metadata 2015-10-01 21:57:35 +02:00
demux.c player: handle rebasing start time differently 2015-11-16 22:47:17 +01:00
demux.h player: handle rebasing start time differently 2015-11-16 22:47:17 +01:00
demux_cue.c cue: read more metadata 2015-10-01 21:57:35 +02:00
demux_disc.c player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
demux_edl.c demux: remove redundant demux_chapter.name field 2015-08-12 11:11:23 +02:00
demux_lavf.c demux_lavf: mark ASS tracks as always UTF-8 2015-11-11 21:25:08 +01:00
demux_libarchive.c libarchive: remove redundant log prefix 2015-11-09 22:41:19 -08:00
demux_mf.c Update license headers 2015-04-13 12:10:01 +02:00
demux_mkv.c demux_mkv: fix incremental indexing with single-keyframe files 2015-11-17 21:43:35 +01:00
demux_mkv_timeline.c demux: remove redundant demux_chapter.name field 2015-08-12 11:11:23 +02:00
demux_playlist.c player: warn against using HLS URLs with --playlist 2015-08-04 17:51:00 +02:00
demux_rar.c demux: fix rar support for files containing DTS audio tracks 2015-03-24 21:29:09 +01:00
demux_raw.c demux: rename sh_stream.format to sh_stream.codec_tag 2015-06-21 16:56:35 +02:00
demux_subreader.c demux: remove demux_add_packet() return value 2015-10-17 14:27:55 +02:00
demux_tv.c demux: rename sh_stream.format to sh_stream.codec_tag 2015-06-21 16:56:35 +02:00
ebml.c ebml: warn if an EBML has unknown length 2015-09-03 13:39:00 +02:00
ebml.h Update license headers 2015-04-13 12:10:01 +02:00
matroska.h demux_mkv: remove indirection through defines 2015-06-19 21:41:57 +02:00
packet.c demux_mkv: refactor packet parsing 2015-02-05 21:52:07 +01:00
packet.h Update license headers 2015-04-13 12:10:01 +02:00
stheader.h demux: export forced flag 2015-06-27 22:02:24 +02:00
timeline.c demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00
timeline.h demux: timeline: honor quit requests 2015-02-20 22:08:02 +01:00