[Mesa-dev] [PATCH] radeon/uvd: disable MPEG1

Alex Deucher alexdeucher at gmail.com
Mon Feb 29 15:38:11 UTC 2016


On Mon, Feb 29, 2016 at 6:27 AM, Christian König
<deathsimple at vodafone.de> wrote:
> From: Christian König <christian.koenig at amd.com>
>
> The hardware simply doesn't support that correctly.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>


> ---
>  src/gallium/drivers/radeon/radeon_video.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c
> index ec29d8c..4b3e2cf 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)
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list