From df3e6b549c568e4b9d7981c9e4eedba9689c2e05 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 26 Jan 2015 02:18:47 +0100 Subject: vo_opengl, x11: implement icc-profile-auto This queries the _ICC_PROFILE property on the root window. It also tries to reload the ICC when it changes, or if the mpv window changes the monitor. (If multiple monitors are covered, mpv will randomly select one of them.) The official spec is a dead link on freedesktop.org, so don't blame me for any bugs. Note that this assumes that Xinerama screen numbers match the way mpv enumerates the xrandr monitors. Although there is some chance that this matches, it most likely doesn't, and we actually have to do complicated things to map the screen numbers. If it turns out that this is required, I will fix it as soon as someone with a suitable setup for testing the fix reports it. --- DOCS/man/vo.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DOCS/man/vo.rst') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index d5be46ac9b..1d1ab950c7 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -523,7 +523,7 @@ Available video output drivers are: Automatically select the ICC display profile currently specified by the display settings of the operating system. - NOTE: Only implemented on OS X with Cocoa. + NOTE: Only implemented on OS X and X11 ``icc-cache=`` Store and load the 3D LUT created from the ICC profile in this file. -- cgit v1.2.3