diff options
author | wm4 <wm4@nowhere> | 2014-02-09 19:00:06 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-09 20:50:24 +0100 |
commit | 4dbd5df174f323b2b4cd6048d8df38a6168ba73c (patch) | |
tree | 000e688bef2bef3914055614fa40509bdfd10311 /talloc.h | |
parent | ad782a53ef38c673c677ca637baf6e875c7c1bd0 (diff) | |
download | mpv-4dbd5df174f323b2b4cd6048d8df38a6168ba73c.tar.bz2 mpv-4dbd5df174f323b2b4cd6048d8df38a6168ba73c.tar.xz |
demux_mkv: improve audio-only seeking
v_skip_to_keyframe is set to true while non-keyframe video packets are
skipped. Until now, audio packets were also skipped when doing this. I
can't see any good reason why this would be done, but for now I want to
keep the old logic when audio+video seeks are done.
However, for audio-only mode, do proper seeking, which also fixes
behavior when trying to seek past the end of the file: playback is
terminated properly, instead of starting playback on the start of the
last cluster.
Note that a_no_timecode_check is used only for audio+video seek. I'm
not sure what this is needed for, but it might influence A/V sync after
seeking.
Diffstat (limited to 'talloc.h')
0 files changed, 0 insertions, 0 deletions