aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorChristian König <[email protected]>2016-01-18 20:56:06 +0100
committerChristian König <[email protected]>2016-01-19 17:28:38 +0100
commitf3b067af8656b1d3e0fda3e50bf80dbda5f4c1f8 (patch)
tree842f9c7ec7b1677838828aa5fa5ea3456cbb5fc3 /src/gallium/state_trackers
parente6281a285012d76cf60fb8639838c369cf4d438f (diff)
st/va: fix motion adaptive deinterlacing
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/va/postproc.c2
1 files changed, 1 insertions, 1 deletions
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: