Skip to content
Commit adccfff0 authored by Mikhail Rudenko's avatar Mikhail Rudenko Committed by Hans Verkuil
Browse files

media: sun6i-csi: fix colorspace in sun6i_video_try_fmt()



With gstreamer 1.19.3 all attempts to capture video in YUV formats on
our Allwinner H3-based custom board with an ov5640 sensor result in
pipeline crashes with the following messages:

	Device '/dev/video0' does not support 2:0:0:0 colorimetry
	Additional debug info:
	Device wants 2:0:0:0 colorimetry

Fix this by setting the correct colorspace in sun6i_video_try_fmt().

Signed-off-by: default avatarMikhail Rudenko <mike.rudenko@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 67e4550e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment