On Thu, 2011-12-22 at 06:03 +0800, Hai Lan wrote: 
> When call i965_BeginPicture for JPEG decoding, Assertion `0' failed.
> Signed-off-by: Hai Lan <[email protected]>
> ---
>  src/i965_drv_video.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
> index b313fe4..f910507 100644
> --- a/src/i965_drv_video.c
> +++ b/src/i965_drv_video.c
> @@ -1375,6 +1375,10 @@ i965_BeginPicture(VADriverContextP ctx,
>          vaStatus = VA_STATUS_SUCCESS;
>          break;
>  
> +    case VAProfileJPEGBaseline:
> +        vaStatus = VA_STATUS_SUCCESS;
> +        break;
> +
>      case VAProfileNone:
>          vaStatus = VA_STATUS_SUCCESS;
>          break;

Applied, Thanks

Haihao


_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to