Skip to content
Commit 89fd92a6 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

v4l2: fix transform_caps callback at gstv4l2transform



The GstConvert transform were tested in the past with the
assumption that both source and sync pads would support
the same formats.

Probably due to that, it was never noticed that the
transform_caps actually from the source direction are
actually validating the sink direction, and vice versa,
as described at GstBaseTransformClass description.

With a recent Kernel patch added bayer formats only for
the V4L2 camera type, this problem became evident.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 1d0a793b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment