From: Christian König Date: Mon, 18 Jan 2016 19:56:06 +0000 (+0100) Subject: st/va: fix motion adaptive deinterlacing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3b067af8656b1d3e0fda3e50bf80dbda5f4c1f8;p=mesa.git st/va: fix motion adaptive deinterlacing Signed-off-by: Christian König --- 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: