From: Christian König Date: Fri, 5 Feb 2016 08:25:59 +0000 (+0100) Subject: radeon/uvd: disable MPEG1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e148a3b6e9e5c5cd941b70edb67e82058a8187a5;p=mesa.git radeon/uvd: disable MPEG1 The hardware simply doesn't support that correctly. Signed-off-by: Christian König Reviewed-by: Alex Deucher Cc: "11.1 11.2" --- diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c index ec29d8cb754..4b3e2cf29e0 100644 --- a/src/gallium/drivers/radeon/radeon_video.c +++ b/src/gallium/drivers/radeon/radeon_video.c @@ -237,6 +237,7 @@ int rvid_get_video_param(struct pipe_screen *screen, case PIPE_VIDEO_CAP_SUPPORTED: switch (codec) { case PIPE_VIDEO_FORMAT_MPEG12: + return profile != PIPE_VIDEO_PROFILE_MPEG1; case PIPE_VIDEO_FORMAT_MPEG4: case PIPE_VIDEO_FORMAT_MPEG4_AVC: if (rscreen->family < CHIP_PALM)