Skip to content

Commit 45029d3

Browse files
sefrickehverkuil
authored andcommitted
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 <[email protected]> Signed-off-by: Sebastian Fricke <[email protected]> Signed-off-by: Nicolas Dufresne <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent 7560349 commit 45029d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/media/rkvdec/rkvdec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static const struct rkvdec_ctrl_desc rkvdec_h264_ctrl_descs[] = {
150150
},
151151
{
152152
.cfg.id = V4L2_CID_MPEG_VIDEO_H264_PROFILE,
153-
.cfg.min = V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE,
153+
.cfg.min = V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_BASELINE,
154154
.cfg.max = V4L2_MPEG_VIDEO_H264_PROFILE_HIGH,
155155
.cfg.menu_skip_mask =
156156
BIT(V4L2_MPEG_VIDEO_H264_PROFILE_EXTENDED),

0 commit comments

Comments
 (0)