[Libva] [PATCH] Fix forward reference requirement for Bob deinterlacing in intel-driver

Xiang, Haihao haihao.xiang at intel.com
Mon Jan 5 21:39:23 PST 2015


Applied,

Thanks
Haihao

> 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ä <a.seppala at gmail.com>
> ---
>  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;




More information about the Libva mailing list