[vlc-devel] [PATCH] deinterlace:dxva: fix a bogus string test
Steve Lhomme
robux4 at videolabs.io
Fri Aug 4 11:30:56 CEST 2017
---
modules/video_output/win32/d3d11_deinterlace.c | 2 +-
modules/video_output/win32/dxva2_deinterlace.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/win32/d3d11_deinterlace.c b/modules/video_output/win32/d3d11_deinterlace.c
index e7d6da8245..63a087f7c1 100644
--- a/modules/video_output/win32/d3d11_deinterlace.c
+++ b/modules/video_output/win32/d3d11_deinterlace.c
@@ -341,7 +341,7 @@ static int Open(vlc_object_t *obj)
msg_Dbg(filter, "unknown mode %s, trying blend", psz_mode);
p_mode = GetFilterMode("blend");
}
- if (strcmp(p_mode->psz_mode, p_mode))
+ if (strcmp(p_mode->psz_mode, psz_mode))
msg_Dbg(filter, "using %s deinterlacing mode", p_mode->psz_mode);
for (UINT type = 0; type < processorCaps.RateConversionCapsCount; ++type)
diff --git a/modules/video_output/win32/dxva2_deinterlace.c b/modules/video_output/win32/dxva2_deinterlace.c
index 3995b333c5..b9eef5bef1 100644
--- a/modules/video_output/win32/dxva2_deinterlace.c
+++ b/modules/video_output/win32/dxva2_deinterlace.c
@@ -310,7 +310,7 @@ static int Open(vlc_object_t *obj)
msg_Dbg(filter, "unknown mode %s, trying blend", psz_mode);
p_mode = GetFilterMode("blend");
}
- if (strcmp(p_mode->psz_mode, p_mode))
+ if (strcmp(p_mode->psz_mode, psz_mode))
msg_Dbg(filter, "using %s deinterlacing mode", p_mode->psz_mode);
DXVA2_VideoProcessorCaps caps, best_caps;
--
2.12.1
More information about the vlc-devel
mailing list