Commit a270dc79 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

v4l2transform: Fix NULL check copy paste error

CID 1212129
parent bf191848
...@@ -276,7 +276,7 @@ gst_v4l2_transform_query (GstBaseTransform * trans, GstPadDirection direction, ...@@ -276,7 +276,7 @@ gst_v4l2_transform_query (GstBaseTransform * trans, GstPadDirection direction,
} else { } else {
pad = GST_BASE_TRANSFORM_SINK_PAD (trans); pad = GST_BASE_TRANSFORM_SINK_PAD (trans);
otherpad = GST_BASE_TRANSFORM_SRC_PAD (trans); otherpad = GST_BASE_TRANSFORM_SRC_PAD (trans);
if (self->probed_srccaps) if (self->probed_sinkcaps)
caps = gst_caps_ref (self->probed_sinkcaps); caps = gst_caps_ref (self->probed_sinkcaps);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment