1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/player
wm4 862d7d8a1a player: fix desync when seeking and switching external tracks
If you for example use --audio-file, disable the external track, seek,
and enable the external track again, the playback position of the
external file was off, and you would get major A/V desync. This was
actually supposed to work, but broke at some time ago (probably commit
2b87415f). It didn't work, because it attempted to seek the stream if it
was already selected, which was always true due to
reselect_demux_streams() being called before that.

Fix by putting the initial selection and the seek together.
2014-07-29 17:55:28 +02:00
..
lua osc: improve previous commit 2014-07-10 11:22:05 +02:00
timeline demux: make start time a simple field 2014-07-05 17:07:15 +02:00
audio.c player: fix desync when seeking and switching external tracks 2014-07-29 17:55:28 +02:00
client.c audio, client API: check mp_make_wakeup_pipe() return value 2014-07-25 14:32:45 +02:00
client.h Add more const 2014-06-11 00:39:14 +02:00
command.c command: fix and simplify overlay_add 2014-07-25 14:32:45 +02:00
command.h command: redo the property type 2014-06-13 02:11:39 +02:00
configfiles.c Revert "Remove DVD and Bluray support" 2014-07-15 01:49:02 +02:00
core.h player: fix desync when seeking and switching external tracks 2014-07-29 17:55:28 +02:00
discnav.c demux: add a demuxer thread 2014-07-16 23:25:56 +02:00
loadfile.c player: fix desync when seeking and switching external tracks 2014-07-29 17:55:28 +02:00
lua.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
main_fn.c build: add option to build a library 2014-02-10 21:25:22 +01:00
main.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
misc.c player: fix desync when seeking and switching external tracks 2014-07-29 17:55:28 +02:00
osd.c osd: properly handle OSD bar timeout 2014-07-21 19:35:20 +02:00
playloop.c player: remove a pointless field 2014-07-29 01:00:54 +02:00
screenshot.c player: make the time display relative to start PTS 2014-06-29 20:39:49 +02:00
screenshot.h
scripting.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
sub.c player: fix desync when seeking and switching external tracks 2014-07-29 17:55:28 +02:00
video.c player: fix desync when seeking and switching external tracks 2014-07-29 17:55:28 +02:00