[Libva] [PATCH] Fix VA_ENC_PACKED_HEADER_RAW_DATA value.

Gwenole Beauchesne gb.devel at gmail.com
Fri Apr 25 02:20:32 PDT 2014


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 */
-- 
1.7.9.5



More information about the Libva mailing list