summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i965_drv_video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index 29ccf05..ac2aeac 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -735,6 +735,10 @@ i965_GetConfigAttributes(VADriverContextP ctx,
}
break;
}
+ else if (entrypoint == VAEntrypointEncPicture) {
+ if (profile == VAProfileJPEGBaseline)
+ attrib_list[i].value = VA_ENC_PACKED_HEADER_RAW_DATA;
+ }
break;
case VAConfigAttribEncMaxRefFrames: