diff --git a/sys/v4l2/gstv4l2transform.c b/sys/v4l2/gstv4l2transform.c index f9a1d920ec..864b64f52c 100644 --- a/sys/v4l2/gstv4l2transform.c +++ b/sys/v4l2/gstv4l2transform.c @@ -861,6 +861,12 @@ done: /* fixate remaining fields */ othercaps = gst_caps_fixate (othercaps); + if (direction == GST_PAD_SINK) { + if (gst_caps_is_subset (caps, othercaps)) { + gst_caps_replace (&othercaps, caps); + } + } + return othercaps; }