summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
authorllyyr <llyyr.public@gmail.com>2023-11-06 00:07:16 +0530
committersfan5 <sfan5@live.de>2023-11-06 11:39:45 +0100
commit0257d53d2c8f058d25af0b04a4c2e3b9676e8618 (patch)
treeb4ddb117b58fa09365da25acb3001499505046bc /video/out/vo.c
parenta7186777de9ac6f4970f167204aa966752cee0db (diff)
downloadmpv-0257d53d2c8f058d25af0b04a4c2e3b9676e8618.tar.bz2
mpv-0257d53d2c8f058d25af0b04a4c2e3b9676e8618.tar.xz
video: reset `display_sync_error` when resetting state
This would cause mpv to, in some very specific scenarios, have a negative vsync_offset after seeking which would result in mpv requesting a pts before the first frame to libplacebo. Fix it by setting it to 0 when we reset state, such as after seeking. Fixes: https://github.com/mpv-player/mpv/issues/12813
Diffstat (limited to 'video/out/vo.c')
0 files changed, 0 insertions, 0 deletions