From d704d61c61ad3f3660d579a830704e6f2396ad6e Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 14 Apr 2015 14:29:05 +0200 Subject: 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. --- DOCS/man/vo.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'DOCS/man/vo.rst') 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=`` + 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. -- cgit v1.2.3