summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-27 21:07:17 +0100
committerwm4 <wm4@nowhere>2016-01-27 21:07:17 +0100
commit34bead485987b416685e73ca918610fff75d618d (patch)
treea83b162051ee7c4cbd6cb8ea58ec2e4f3d6aa999 /DOCS/man
parent7b6e3772ab7a39fc81e7524540e69eb30c4da7ac (diff)
downloadmpv-34bead485987b416685e73ca918610fff75d618d.tar.bz2
mpv-34bead485987b416685e73ca918610fff75d618d.tar.xz
vo_opengl: replace tscale-interpolates-only with interpolation-threshold
The previous approach was too naive, and can e.g. ruin playback if scheduling switches e.g. between 1 and 2 vsync per frame.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/vo.rst16
1 files changed, 13 insertions, 3 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index 0725cf19e6..58bd91cd55 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -549,9 +549,19 @@ Available video output drivers are:
manifest themselves as short flashes or fringes of black, mostly
around moving edges) in exchange for potentially adding more blur.
- ``tscale-interpolates-only=<yes|no>``
- If set, then don't perform interpolation if the playback rate matches
- the display refresh rate (default: yes).
+ ``interpolation-threshold=<0..1,-1>``
+ Threshold below which frame ratio interpolation gets disabled (default:
+ ``0.0001``). This is calculated as ``abs(disphz/vfps - 1) < threshold``,
+ where ``vfps`` is the speed-adjusted display FPS, and ``disphz`` the
+ display refresh rate.
+
+ The default is intended to almost always enable interpolation if the
+ playback rate is even slightly different from the display refresh rate.
+ But note that if you use e.g. ``--video-sync=display-vdrop``, small
+ deviations in the rate can disable interpolation and introduce a
+ discontinuity every other minute.
+
+ Set this to ``-1`` to disable this logic.
``dscale-radius``, ``cscale-radius``, ``tscale-radius``, etc.
Set filter parameters for ``dscale``, ``cscale`` and ``tscale``,