projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9649c6a
)
radeon/video: Return false explicitly for HEVC if not the case
author
Leo Liu
<leo.liu@amd.com>
Wed, 23 Aug 2017 13:53:10 +0000
(09:53 -0400)
committer
Leo Liu
<leo.liu@amd.com>
Wed, 23 Aug 2017 14:51:14 +0000
(10:51 -0400)
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>
src/gallium/drivers/radeon/radeon_video.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_video.c
b/src/gallium/drivers/radeon/radeon_video.c
index 7c2553364ee5404529152969ff2b4714d0749c7d..99b6676fee1959fa327e2362b40906a65cd4169a 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_video.c
+++ b/
src/gallium/drivers/radeon/radeon_video.c
@@
-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;