Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
020d1d44 by Steve Lhomme at 2024-03-19T09:29:05+01:00
direct3d11: disable forced HDR on SDR screens

The VideoProcessor will output RGB10 tonemapped but it will not look right on 
our SDR screen.

- - - - -


1 changed file:

- modules/video_output/win32/direct3d11.c


Changes:

=====================================
modules/video_output/win32/direct3d11.c
=====================================
@@ -1361,7 +1361,7 @@ static void D3D11SetColorSpace(vout_display_t *vd)
     }
 
 #ifdef HAVE_DXGI1_6_H
-    if (sys->hdrMode == hdr_Auto) // match the screen
+    if (sys->hdrMode == hdr_Auto || sys->hdrMode == hdr_Fake) // match the 
screen
     if (SUCCEEDED(IDXGISwapChain_GetContainingOutput( sys->dxgiswapChain, 
&dxgiOutput )))
     {
         IDXGIOutput6 *dxgiOutput6 = NULL;



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/020d1d443dcdb00348442580a87f7e53b918130f

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/020d1d443dcdb00348442580a87f7e53b918130f
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to