[vlc-commits] direct3d11: disable display luminance detection

Steve Lhomme git at videolan.org
Thu Oct 12 23:31:24 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu Oct 12 11:29:58 2017 +0200| [2cc670ba6ece2e4faf391ee0bb5b00f3dca6a900] | committer: Jean-Baptiste Kempf

direct3d11: disable display luminance detection

It doesn't work well with our current way of tone mapping and adjusting the
luminance between the source and output.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2cc670ba6ece2e4faf391ee0bb5b00f3dca6a900
---

 modules/video_output/win32/direct3d11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 445c177135..aa0d0b9cd8 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1606,7 +1606,7 @@ done:
                 }
 
                 msg_Dbg(vd, "Output max luminance: %.1f, colorspace %s, bits per pixel %d", desc1.MaxFullFrameLuminance, csp?csp->name:"unknown", desc1.BitsPerColor);
-                sys->display.luminance_peak = desc1.MaxFullFrameLuminance;
+                //sys->display.luminance_peak = desc1.MaxFullFrameLuminance;
             }
             IDXGIOutput6_Release( dxgiOutput6 );
         }



More information about the vlc-commits mailing list