Commit 1e0e7c6b authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

deinterlace:dxva: fix a bogus string test

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 803ec3dd
......@@ -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)
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment