[vlc-commits] dxva2_deinterlace: replace an assert by a debug warning
Steve Lhomme
git at videolan.org
Fri Aug 4 10:17:54 CEST 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Aug 1 10:25:44 2017 +0200| [ea4eb374d816501e905cac872a645931d3d7e56e] | committer: Jean-Baptiste Kempf
dxva2_deinterlace: replace an assert by a debug warning
Might fix #18599
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea4eb374d816501e905cac872a645931d3d7e56e
---
modules/video_output/win32/dxva2_deinterlace.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/win32/dxva2_deinterlace.c b/modules/video_output/win32/dxva2_deinterlace.c
index 1d5b301e19..d4152f2e4a 100644
--- a/modules/video_output/win32/dxva2_deinterlace.c
+++ b/modules/video_output/win32/dxva2_deinterlace.c
@@ -360,7 +360,8 @@ static int Open(vlc_object_t *obj)
sys->context.settings = p_mode->settings;
sys->context.settings.b_use_frame_history = best_caps.NumBackwardRefSamples != 0 ||
best_caps.NumForwardRefSamples != 0;
- assert(sys->context.settings.b_use_frame_history == p_mode->settings.b_use_frame_history);
+ if (sys->context.settings.b_use_frame_history != p_mode->settings.b_use_frame_history)
+ msg_Dbg( filter, "deinterlacing not using frame history as requested");
if (sys->context.settings.b_double_rate)
sys->context.pf_render_ordered = RenderPic;
else
More information about the vlc-commits
mailing list