GitLab will be down for maintenance this Sunday 13th June, from approx 7-11am UTC. This is for a PostgreSQL migration. See the tracker issue for more informations.

Commit 38f012e0 authored by Thong Thai's avatar Thong Thai Committed by Marge Bot
Browse files

frontends/va/config: Fix check for packed header config

Fixes: b4651890

 ("frontends/va: Update conditional checks for code stability.")
Signed-off-by: Thong Thai's avatarThong Thai <>
Tested-by: default avatarJames Zhu <>
Closes: mesa/mesa#4285

Reviewed-by: Leo Liu's avatarLeo Liu <>
Part-of: <mesa/mesa!9020>
parent 74f9bcc2
Pipeline #271532 waiting for manual action with stages
......@@ -319,7 +319,8 @@ vlVaCreateConfig(VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoin
if (attrib_list[i].type == VAConfigAttribEncPackedHeaders) {
if (attrib_list[i].value != 0) {
if (attrib_list[i].value > 1 ||
config->entrypoint != PIPE_VIDEO_ENTRYPOINT_ENCODE) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment