From f810196b3e6fd70df5507d7dfc5bc95ac5228ebf Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Thu, 20 Mar 2014 17:26:05 -0400 Subject: [PATCH] v4l2transform: Fixup caps query --- sys/v4l2/gstv4l2transform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l2/gstv4l2transform.c b/sys/v4l2/gstv4l2transform.c index 3c05db6b6c..28588f9a7d 100644 --- a/sys/v4l2/gstv4l2transform.c +++ b/sys/v4l2/gstv4l2transform.c @@ -258,7 +258,7 @@ gst_v4l2_transform_query (GstBaseTransform * trans, GstPadDirection direction, pad = GST_BASE_TRANSFORM_SINK_PAD (trans); otherpad = GST_BASE_TRANSFORM_SRC_PAD (trans); if (self->probed_srccaps) - caps = gst_caps_ref (self->probed_srccaps); + caps = gst_caps_ref (self->probed_sinkcaps); } if (!caps) -- 2.34.1