From f3b067af8656b1d3e0fda3e50bf80dbda5f4c1f8 Mon Sep 17 00:00:00 2001 From: Christian König Date: Mon, 18 Jan 2016 20:56:06 +0100 Subject: st/va: fix motion adaptive deinterlacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- src/gallium/state_trackers/va/postproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/state_trackers') diff --git a/src/gallium/state_trackers/va/postproc.c b/src/gallium/state_trackers/va/postproc.c index f541f7c8aeb..d06f01617df 100644 --- a/src/gallium/state_trackers/va/postproc.c +++ b/src/gallium/state_trackers/va/postproc.c @@ -273,7 +273,7 @@ vlVaHandleVAProcPipelineParameterBufferType(vlVaDriver *drv, vlVaContext *contex case VAProcDeinterlacingMotionAdaptive: src = vlVaApplyDeint(drv, context, param, src, - deint->flags & VA_DEINTERLACING_BOTTOM_FIELD); + !!(deint->flags & VA_DEINTERLACING_BOTTOM_FIELD)); break; default: -- cgit v1.2.3