mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
media: rkvdec: h264: Limit minimum profile to constrained baseline
Neither the hardware nor the kernel API support FMO/ASO features required by the full baseline profile. Therefore limit the minimum profile to the constrained baseline profile explicitly. Suggested-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
parent
7560349ee0
commit
45029d3ee2
|
|
@ -150,7 +150,7 @@ static const struct rkvdec_ctrl_desc rkvdec_h264_ctrl_descs[] = {
|
|||
},
|
||||
{
|
||||
.cfg.id = V4L2_CID_MPEG_VIDEO_H264_PROFILE,
|
||||
.cfg.min = V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE,
|
||||
.cfg.min = V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_BASELINE,
|
||||
.cfg.max = V4L2_MPEG_VIDEO_H264_PROFILE_HIGH,
|
||||
.cfg.menu_skip_mask =
|
||||
BIT(V4L2_MPEG_VIDEO_H264_PROFILE_EXTENDED),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user