[vlc-commits] d3d11_deinterlace: log the filter that actually failed

Steve Lhomme git at videolan.org
Fri Oct 23 13:02:36 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct 22 14:44:57 2020 +0200| [f00c62a88b74449d3983751b3ae3b7fddb51e7e7] | committer: Steve Lhomme

d3d11_deinterlace: log the filter that actually failed

Not the "auto" name.

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

 modules/hw/d3d11/d3d11_deinterlace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/d3d11/d3d11_deinterlace.c b/modules/hw/d3d11/d3d11_deinterlace.c
index 9a2cdad700..fafb4fd84b 100644
--- a/modules/hw/d3d11/d3d11_deinterlace.c
+++ b/modules/hw/d3d11/d3d11_deinterlace.c
@@ -318,7 +318,7 @@ int D3D11OpenDeinterlace(filter_t *filter)
     if ( sys->d3d_proc.videoProcessor==NULL &&
          p_mode->i_mode != D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BOB )
     {
-        msg_Dbg(filter, "mode %s not available, trying bob", psz_mode);
+        msg_Dbg(filter, "mode %s not available, trying bob", p_mode->psz_mode);
         p_mode = GetFilterMode("bob");
         for (UINT type = 0; type < processorCaps.RateConversionCapsCount; ++type)
         {



More information about the vlc-commits mailing list