[vlc-devel] [PATCH] direct3d11: disable display luminance detection

Steve Lhomme robux4 at videolabs.io
Thu Oct 12 11:29:58 CEST 2017


It doesn't work well with our current way of tone mapping and adjusting the
luminance between the source and output.
---
 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 );
         }
-- 
2.14.2



More information about the vlc-devel mailing list