From 5abd6579752f9266a100909fa975effe42d802a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Sepp=C3=A4l=C3=A4?= Date: Mon, 5 Jan 2015 09:50:30 +0200 Subject: Fix forward reference requirement for Bob deinterlacing in intel-driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove stray semicolon to fix condition check for forward reference surface count in vaQueryVideoProcPipelineCaps. This fix allows the pipeline query to return 0 forward references for Bob deinterlacer. Signed-off-by: Antti Seppälä (cherry picked from commit fd8cac36590ce49596c17466621a4af32a45e932) --- src/i965_drv_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index c5f52dc..ba14825 100644 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -5516,7 +5516,7 @@ VAStatus i965_QueryVideoProcPipelineCaps( VA_STATUS_ERROR_INVALID_PARAMETER); if (deint->algorithm == VAProcDeinterlacingMotionAdaptive || - deint->algorithm == VAProcDeinterlacingMotionCompensated); + deint->algorithm == VAProcDeinterlacingMotionCompensated) pipeline_cap->num_forward_references++; } else if (base->type == VAProcFilterSkinToneEnhancement) { VAProcFilterParameterBuffer *stde = (VAProcFilterParameterBuffer *)base; -- cgit v1.2.3