summaryrefslogtreecommitdiffstats
path: root/video/img_format.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-31 13:19:38 +0100
committerwm4 <wm4@nowhere>2015-10-31 13:21:16 +0100
commit8fd63c8f0cfb6c95a534f61942a5d0a0f5623b25 (patch)
treeb7067d1ea7118f2ab29f59e11d27b2258c00331c /video/img_format.c
parentb92fd602ced5f71e843ef87edf3de6cf68b05b12 (diff)
downloadmpv-8fd63c8f0cfb6c95a534f61942a5d0a0f5623b25.tar.bz2
mpv-8fd63c8f0cfb6c95a534f61942a5d0a0f5623b25.tar.xz
video: fix another A/V difference bug in display-sync mode
This didn't show up with cases where the frame pattern has a cycle of 1 or 2 like it is the case with 24-on-24 fps, or 24-on-60 fps. It did show up with 25-on-60 fps. (We don't slow down 25 fps video to 24 on default settings.) In this case, we must not add the timing error of the next frame to the A/V difference estimation of the current frame. Use the previous timing error instead. This is another bug resulting from the confusion about whether we calculate parameters for the currently playing frame, or the one we're about to queue.
Diffstat (limited to 'video/img_format.c')
0 files changed, 0 insertions, 0 deletions