v4l2transform: Fix NULL check copy paste error

CID 1212129
This commit is contained in:
Nicolas Dufresne 2014-05-09 12:14:23 -04:00
parent bf1918481d
commit a270dc79d9

View file

@ -276,7 +276,7 @@ gst_v4l2_transform_query (GstBaseTransform * trans, GstPadDirection direction,
} else {
pad = GST_BASE_TRANSFORM_SINK_PAD (trans);
otherpad = GST_BASE_TRANSFORM_SRC_PAD (trans);
if (self->probed_srccaps)
if (self->probed_sinkcaps)
caps = gst_caps_ref (self->probed_sinkcaps);
}