mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
st/va: add missing profiles in PipeToProfile's switch.
Otherwise assert is raised from vlVaQueryConfigProfiles's for loop. Signed-off-by: Julien Isorce <j.isorce@samsung.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
63b49e1711
commit
ca976e6900
1 changed files with 7 additions and 0 deletions
|
|
@ -148,6 +148,13 @@ PipeToProfile(enum pipe_video_profile profile)
|
|||
case PIPE_VIDEO_PROFILE_HEVC_MAIN:
|
||||
return VAProfileHEVCMain;
|
||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_EXTENDED:
|
||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH10:
|
||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH422:
|
||||
case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH444:
|
||||
case PIPE_VIDEO_PROFILE_HEVC_MAIN_10:
|
||||
case PIPE_VIDEO_PROFILE_HEVC_MAIN_12:
|
||||
case PIPE_VIDEO_PROFILE_HEVC_MAIN_STILL:
|
||||
case PIPE_VIDEO_PROFILE_HEVC_MAIN_444:
|
||||
case PIPE_VIDEO_PROFILE_UNKNOWN:
|
||||
return VAProfileNone;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue