From: Boyuan Zhang Date: Fri, 16 Dec 2016 20:22:13 +0000 (-0500) Subject: radeon/uvd: add h264 constrained baseline support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c29191eea8a92d6d25a82196f6ed35bb1f28c5cb;p=mesa.git radeon/uvd: add h264 constrained baseline support Signed-off-by: Boyuan Zhang Reviewed-by: Christian König --- diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c index 93fe147b5eb..f1339d121b7 100644 --- a/src/gallium/drivers/radeon/radeon_uvd.c +++ b/src/gallium/drivers/radeon/radeon_uvd.c @@ -478,6 +478,7 @@ static struct ruvd_h264 get_h264_msg(struct ruvd_decoder *dec, struct pipe_h264_ memset(&result, 0, sizeof(result)); switch (pic->base.profile) { case PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE: + case PIPE_VIDEO_PROFILE_MPEG4_AVC_CONSTRAINED_BASELINE: result.profile = RUVD_H264_PROFILE_BASELINE; break;