From 116f13ce112e9113418d5db470dd6d0762d74ac8 Mon Sep 17 00:00:00 2001 From: Hai Lan Date: Thu, 22 Dec 2011 06:03:44 +0800 Subject: [PATCH] Fix the bug for IVB jpeg decoding When call i965_BeginPicture for JPEG decoding, Assertion `0' failed. Signed-off-by: Hai Lan --- src/i965_drv_video.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index abfd02e..665f3f5 100644 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -1203,6 +1203,10 @@ i965_BeginPicture(VADriverContextP ctx, vaStatus = VA_STATUS_SUCCESS; break; + case VAProfileJPEGBaseline: + vaStatus = VA_STATUS_SUCCESS; + break; + default: assert(0); vaStatus = VA_STATUS_ERROR_UNSUPPORTED_PROFILE; -- 2.7.4