Commit 803b9eab authored by James Cowgill's avatar James Cowgill Committed by Hans Verkuil
Browse files

media: v4l2-ctrls: Fix H264 SEPARATE_COLOUR_PLANE check



The `separate_colour_plane_flag` element is only present in the SPS if
`chroma_format_idc == 3`, so the corresponding flag should be disabled
whenever that is not the case and not just on profiles where
`chroma_format_idc` is not present.

Fixes: b32e4850 ("media: controls: Validate H264 stateless controls")
Signed-off-by: default avatarJames Cowgill <james.cowgill@blaize.com>
Signed-off-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
parent 401fb195
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment