mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 16:50:10 +01:00
r600/uvd: fix check for UVD 2.x
Signed-off-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
1415a1884c
commit
085c695488
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ int r600_uvd_get_video_param(struct pipe_screen *screen,
|
|||
struct r600_screen *rscreen = (struct r600_screen *)screen;
|
||||
|
||||
/* No support for MPEG4 on UVD 2.x */
|
||||
if (param == PIPE_VIDEO_CAP_SUPPORTED && rscreen->family < CHIP_CEDAR &&
|
||||
if (param == PIPE_VIDEO_CAP_SUPPORTED && rscreen->family < CHIP_PALM &&
|
||||
u_reduce_video_profile(profile) == PIPE_VIDEO_CODEC_MPEG4)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue