Mesa (master): st/va: fix motion adaptive deinterlacing

Christian König deathsimple at kemper.freedesktop.org
Tue Jan 19 16:28:45 UTC 2016


Module: Mesa
Branch: master
Commit: f3b067af8656b1d3e0fda3e50bf80dbda5f4c1f8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3b067af8656b1d3e0fda3e50bf80dbda5f4c1f8

Author: Christian König <christian.koenig at amd.com>
Date:   Mon Jan 18 20:56:06 2016 +0100

st/va: fix motion adaptive deinterlacing

Signed-off-by: Christian König <christian.koenig at amd.com>

---

 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 f541f7c..d06f016 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:




More information about the mesa-commit mailing list