1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-18 13:14:36 +00:00
mpv/demux
wm4 457e2f7e02 demux_mkv: better seeking after video end
This change allows forward seeking even if there are no more video
keyframes in forward direction. This helps with files that e.g. encode
cover art as a single video frame (within a _real_ video stream - ffmpeg
seems to like to produce such files). Seeking backwards will still jump
to the nearest video frame, so this improvement has limited use.

The old code didn't do this because of the logic the min_diff variable
followed. Instead of somehow using the timestamp of the last packet read
for min_diff, use the first index entry for it. This actually makes it
fall back to the first/last index entry as the (removed) comment claims.

Note that last_pts is basically random at this point (because the
demuxer can be far ahead of playback position), so this didn't make
sense in the first place.
2015-04-23 15:27:04 +02:00
..
codec_tags.c Remove some FFmpeg/Libav compatibility hacks 2015-03-03 12:28:46 +01:00
codec_tags.h demux_mkv: support embedded coverart 2014-12-22 12:53:51 +01:00
demux_cue.c Update license headers 2015-04-13 12:10:01 +02:00
demux_disc.c demux: change demux_open() signature 2015-02-20 21:21:14 +01:00
demux_edl.c Update license headers 2015-04-13 12:10:01 +02:00
demux_lavf.c player: change video-bitrate and audio-bitrate properties 2015-04-20 20:52:16 +02:00
demux_libass.c player: enable cache and demuxer thread for subtitles too 2015-02-18 21:12:57 +01:00
demux_mf.c Update license headers 2015-04-13 12:10:01 +02:00
demux_mkv_timeline.c Update license headers 2015-04-13 12:10:01 +02:00
demux_mkv.c demux_mkv: better seeking after video end 2015-04-23 15:27:04 +02:00
demux_playlist.c player: allow playing directories 2015-04-17 23:02:14 +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 player: change video-bitrate and audio-bitrate properties 2015-04-20 20:52:16 +02:00
demux_subreader.c Update license headers 2015-04-13 12:10:01 +02:00
demux_tv.c audio: decouple demux and audio decoder/filter sample formats 2014-09-24 22:55:50 +02:00
demux.c demux: report correct cache state close to EOF 2015-04-20 22:53:33 +02:00
demux.h Update license headers 2015-04-13 12:10:01 +02:00
ebml.c Update license headers 2015-04-13 12:10:01 +02:00
ebml.h Update license headers 2015-04-13 12:10:01 +02:00
matroska.h Update license headers 2015-04-13 12:10:01 +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 player: change video-bitrate and audio-bitrate properties 2015-04-20 20:52:16 +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