From e148a3b6e9e5c5cd941b70edb67e82058a8187a5 Mon Sep 17 00:00:00 2001 From: Christian König Date: Fri, 5 Feb 2016 09:25:59 +0100 Subject: radeon/uvd: disable MPEG1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The hardware simply doesn't support that correctly. Signed-off-by: Christian König Reviewed-by: Alex Deucher Cc: "11.1 11.2" --- src/gallium/drivers/radeon/radeon_video.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/radeon') 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) -- cgit v1.2.3