mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
radeon/video: Return false explicitly for HEVC if not the case
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
9649c6acce
commit
89f75c9483
1 changed files with 1 additions and 0 deletions
|
|
@ -280,6 +280,7 @@ int rvid_get_video_param(struct pipe_screen *screen,
|
|||
profile == PIPE_VIDEO_PROFILE_HEVC_MAIN_10);
|
||||
else if (rscreen->family >= CHIP_CARRIZO)
|
||||
return profile == PIPE_VIDEO_PROFILE_HEVC_MAIN;
|
||||
return false;
|
||||
case PIPE_VIDEO_FORMAT_JPEG:
|
||||
if (rscreen->family < CHIP_CARRIZO || rscreen->family >= CHIP_VEGA10)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue