From 9c4768291ee0ce8e29fdadf3e05cbde2714bbe0c Mon Sep 17 00:00:00 2001
From: Steve Lhomme <robux4@ycbcr.xyz>
Date: Sat, 8 Jun 2024 11:23:24 +0200
Subject: [PATCH] d3d11_tonemap: log when the TrueHDR feature is not available

That is the case for win32 builds on win64.
---
 modules/video_output/win32/d3d11_tonemap.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/win32/d3d11_tonemap.cpp b/modules/video_output/win32/d3d11_tonemap.cpp
index 10950d06a499..daa656646e43 100644
--- a/modules/video_output/win32/d3d11_tonemap.cpp
+++ b/modules/video_output/win32/d3d11_tonemap.cpp
@@ -117,6 +117,7 @@ d3d11_tonemapper *D3D11_TonemapperCreate(vlc_object_t *vd, d3d11_device_t *d3d_d
 
         if (!available)
         {
+            msg_Warn(vd, "True HDR not supported");
             d3d11_device_unlock(d3d_dev);
             goto error;
         }
-- 
GitLab