summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/i965_drv_video.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index 54fdff8..8b91d35 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -277,6 +277,12 @@ i965_GetConfigAttributes(VADriverContextP ctx,
attrib_list[i].value = VA_RC_VBR;
break;
+ case VAConfigAttribEncHeaderPacking:
+ if (entrypoint == VAEntrypointEncSlice) {
+ attrib_list[i].value = VA_ENC_HEADER_PACKING_SLICE;
+ break;
+ }
+
default:
/* Do nothing */
attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED;