[Libva] [PATCH] Fix VA_ENC_PACKED_HEADER_RAW_DATA value.

Xiang, Haihao haihao.xiang at intel.com
Mon Apr 28 21:30:41 PDT 2014


Thanks for catching and fixing the issue.  It looks fine to me.

> Attribute values for VAConfigAttribEncPackedHeaders config shall
> represent a valid maskable set of bits. So, make sure "raw" packed
> header mask is 0x10, not 0x0c.
> 
> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
> ---
>  va/va.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/va/va.h b/va/va.h
> index 471fbc2..845760c 100644
> --- a/va/va.h
> +++ b/va/va.h
> @@ -440,7 +440,7 @@ typedef struct _VAConfigAttrib {
>  /** \brief Driver supports misc packed headers. e.g. SEI for H.264. */
>  #define VA_ENC_PACKED_HEADER_MISC       0x00000008
>  /** \brief Driver supports raw packed header, see VAEncPackedHeaderRawData */
> -#define VA_ENC_PACKED_HEADER_RAW_DATA   0x0000000C
> +#define VA_ENC_PACKED_HEADER_RAW_DATA   0x00000010
>  /**@}*/
>  
>  /** @name Attribute values for VAConfigAttribEncInterlaced */




More information about the Libva mailing list