mpv/player
wm4 4c25b000b5 player: fix recent speed change regression
Commit 5afc025c broke this. The reason is that mpctx->delay is updated
when a new video frame is added. This value is also needed to resync
audio, but it will be for the wrong PTS. They must be consistent with
each other, and if they aren't, initial sync will be off by N video
frames, which results at least in worse user experience.

This can be reproduced by for example heavily switching between normal
and 2x speed, or similar.

Fix by readding the video_next_pts field (keeping its use minimal,
instead of reverting the commit that removed it).
2014-08-22 15:36:48 +02:00
..
lua osc: revert disabling use_suspend 2014-08-21 22:46:33 +02:00
timeline
audio.c player: fix recent speed change regression 2014-08-22 15:36:48 +02:00
client.c client API: directly lock playloop 2014-08-14 19:40:43 +02:00
client.h client API: minor optimizations for property notification 2014-08-02 01:53:22 +02:00
command.c video: get rid of video_next_pts field 2014-08-22 14:22:06 +02:00
command.h client API: minor optimizations for property notification 2014-08-02 01:53:22 +02:00
configfiles.c
core.h player: fix recent speed change regression 2014-08-22 15:36:48 +02:00
discnav.c video: get rid of video_next_pts field 2014-08-22 14:22:06 +02:00
loadfile.c sub: call sub_reset() on seeks only 2014-08-14 23:53:53 +02:00
lua.c lua: wake up the core when setting OSD 2014-08-15 23:32:31 +02:00
main.c terminal: some cleanups 2014-08-21 22:45:58 +02:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
misc.c player: use virtual time for --audio-file with ordered chapters 2014-08-15 23:32:37 +02:00
osd.c terminal: some cleanups 2014-08-21 22:45:58 +02:00
playloop.c player: don't clobber playback position on video end 2014-08-22 14:22:06 +02:00
screenshot.c video: move display and timing to a separate thread 2014-08-12 23:24:08 +02:00
screenshot.h
scripting.c
sub.c player: use virtual time for --audio-file with ordered chapters 2014-08-15 23:32:37 +02:00
video.c player: fix recent speed change regression 2014-08-22 15:36:48 +02:00