summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Thompson <[email protected]>2016-10-12 23:53:35 +0100
committerChristian König <[email protected]>2016-10-14 11:57:48 +0200
commit1edaa33135feffe1082bf491e098224121615b08 (patch)
tree341650f8f8bf76cb4080301ca67bb307ec6b8804
parente0604eed9f0cd6e65dde0e2d96c031b8db2c4fe5 (diff)
st/va: Baseline profile is not supported
Constrained baseline profile is supported, so use that instead. This matches what the encoder already does (constraint_set1_flag is always set in the output bitstream). Reviewed-by: Christian König <[email protected]>
-rw-r--r--src/gallium/state_trackers/va/va_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/va/va_private.h b/src/gallium/state_trackers/va/va_private.h
index 7562e14a7e1..c9a6a41f7d7 100644
--- a/src/gallium/state_trackers/va/va_private.h
+++ b/src/gallium/state_trackers/va/va_private.h
@@ -141,7 +141,7 @@ PipeToProfile(enum pipe_video_profile profile)
case PIPE_VIDEO_PROFILE_VC1_ADVANCED:
return VAProfileVC1Advanced;
case PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE:
- return VAProfileH264Baseline;
+ return VAProfileH264ConstrainedBaseline;
case PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN:
return VAProfileH264Main;
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH:
@@ -183,7 +183,7 @@ ProfileToPipe(VAProfile profile)
return PIPE_VIDEO_PROFILE_VC1_MAIN;
case VAProfileVC1Advanced:
return PIPE_VIDEO_PROFILE_VC1_ADVANCED;
- case VAProfileH264Baseline:
+ case VAProfileH264ConstrainedBaseline:
return PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE;
case VAProfileH264Main:
return PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN;