diff options
author | Antti Seppälä <a.seppala@gmail.com> | 2015-01-05 09:50:30 +0200 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2015-03-09 12:49:08 +0800 |
commit | 5abd6579752f9266a100909fa975effe42d802a7 (patch) | |
tree | 81c5cf6ef912f1900d209276b9ee0cd348041133 | |
parent | 27597c8d49c4f815f7405a3efed4cd8b350ddbb6 (diff) | |
download | libva-intel-driver-5abd6579752f9266a100909fa975effe42d802a7.tar.gz libva-intel-driver-5abd6579752f9266a100909fa975effe42d802a7.tar.bz2 libva-intel-driver-5abd6579752f9266a100909fa975effe42d802a7.zip |
Fix forward reference requirement for Bob deinterlacing in intel-driver
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@gmail.com>
(cherry picked from commit fd8cac36590ce49596c17466621a4af32a45e932)
-rw-r--r-- | src/i965_drv_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |