v4l2transform: Fixup caps query
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 20 Mar 2014 21:26:05 +0000 (17:26 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 8 May 2014 19:56:36 +0000 (15:56 -0400)
sys/v4l2/gstv4l2transform.c

index 3c05db6b6c1aa2fa591758a952ac92a25216fa61..28588f9a7de3c78439b57a460ccac8e54b82fd8f 100644 (file)
@@ -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)