summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2015-05-01 17:05:28 +0300
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-07 10:41:50 +0900
commitafb97c517d8041df61092b14e55c445a69cdfcff (patch)
tree01974e62b7a082216c609f60ab8c3b376c5cf710 /video/out/gl_common.h
parentb99f78412be9b3a7aa5eb439833d6cc08a4ab4dc (diff)
downloadmpv-afb97c517d8041df61092b14e55c445a69cdfcff.tar.bz2
mpv-afb97c517d8041df61092b14e55c445a69cdfcff.tar.xz
vo: improve frame drop logic on high playback rate
Commit f1746741dee6000b7fd139e7a10f72aba0674b3b changed the drop logic to have more slack (drop more frames but less frequent) to prevent drops due to timing jitter when the clip and screen have similar rates. However, if the clip has higher rate than the screen (or just higher playback rate), then that policy hurts smoothness since these "chunked drops" look worse than one frame drop at a time. This patch restores the old drop logic when the playback frame rate is higher than ~5% above the screen refresh rate, and solves this issue. Fixes #1897 (cherry picked from commit ffcad1a72b9a3bf5a7ac5ddcbfa71ec19b6faf9b)
Diffstat (limited to 'video/out/gl_common.h')
0 files changed, 0 insertions, 0 deletions