summaryrefslogtreecommitdiffstats
path: root/DOCS/man/vo.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-14 14:29:05 +0200
committerwm4 <wm4@nowhere>2015-04-14 14:29:05 +0200
commitd704d61c61ad3f3660d579a830704e6f2396ad6e (patch)
tree8f088a24fdeca7862045e2afd7f7a4769778b3ec /DOCS/man/vo.rst
parent9e0cd3b3e75e0970b1d6eb2cbcba770fc5112f9e (diff)
downloadmpv-d704d61c61ad3f3660d579a830704e6f2396ad6e.tar.bz2
mpv-d704d61c61ad3f3660d579a830704e6f2396ad6e.tar.xz
vo_opengl: change dwmflush option values
Use a choice instead of an integer. This is incompatible, but I'm not adding any compatibility since this option was added recently.
Diffstat (limited to 'DOCS/man/vo.rst')
-rw-r--r--DOCS/man/vo.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index 2447a8c455..4ac1dd8740 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -548,10 +548,11 @@ Available video output drivers are:
X11/GLX only.
- ``dwmflush``
- Calls ``DwmFlush`` after swapping buffers on Windows (default: 0).
+ ``dwmflush=<no|windowed|yes>``
+ Calls ``DwmFlush`` after swapping buffers on Windows (default: no).
It also sets ``SwapInterval(0)`` to ignore the OpenGL timing. Values
- are: 0 (disabled), 1 (only in windowed mode), 2 (also in full screen).
+ are: no (disabled), windowed (only in windowed mode), yes (also in
+ full screen).
This may help getting more consistent frame intervals, especially with
high-fps clips - which might also reduce dropped frames. Typically a
value of 1 should be enough since full screen may bypass the DWM.