summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian König <[email protected]>2016-02-05 09:25:59 +0100
committerEmil Velikov <[email protected]>2016-03-12 01:17:21 +0000
commit1d760368ee1eeadaa413091a3bca315357146c24 (patch)
treed937f1e06e7b79f7fa7b020388d5d0d5d464ebcc /src
parent938e6dfdee6ea5f85e324febb6d1c288a3d88588 (diff)
radeon/uvd: disable MPEG1
The hardware simply doesn't support that correctly. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Cc: "11.1 11.2" <[email protected]> (cherry picked from commit e148a3b6e9e5c5cd941b70edb67e82058a8187a5)
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeon/radeon_video.c1
1 files changed, 1 insertions, 0 deletions
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)