mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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 <christian.koenig@amd.com>
This commit is contained in:
parent
e0604eed9f
commit
1edaa33135
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue