[vlc-commits] d3d11: turn legacy compatiblity log into a warning

Steve Lhomme git at videolan.org
Thu May 7 08:23:30 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May  7 08:22:36 2020 +0200| [84e44305554b1400ca32409674bb367d3df899d5] | committer: Steve Lhomme

d3d11: turn legacy compatiblity log into a warning

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

 modules/video_chroma/d3d11_fmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_chroma/d3d11_fmt.c b/modules/video_chroma/d3d11_fmt.c
index 0b3f60b506..4f7d0c2954 100644
--- a/modules/video_chroma/d3d11_fmt.c
+++ b/modules/video_chroma/d3d11_fmt.c
@@ -440,7 +440,7 @@ static HRESULT CreateDevice(vlc_object_t *obj, d3d11_handle_t *hd3d,
             /* we can work with legacy levels but only if forced */
             if ( obj->force || out->feature_level >= D3D_FEATURE_LEVEL_11_0 )
                 break;
-            msg_Dbg(obj, "Incompatible feature level %x", out->feature_level);
+            msg_Warn(obj, "Incompatible feature level %x", out->feature_level);
             ID3D11DeviceContext_Release(out->d3dcontext);
             ID3D11Device_Release(out->d3ddevice);
             out->d3dcontext = NULL;



More information about the vlc-commits mailing list