From f3b067af8656b1d3e0fda3e50bf80dbda5f4c1f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20K=C3=B6nig?= Date: Mon, 18 Jan 2016 20:56:06 +0100 Subject: [PATCH] st/va: fix motion adaptive deinterlacing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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(-) 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: -- 2.30.2