From: Stefan Kost Date: Tue, 21 Jul 2009 07:56:53 +0000 (+0300) Subject: pad: use correct variable in test X-Git-Tag: RELEASE-0.10.25~137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12f9b39fac116d21a19476b48ef978c271bdb075;p=platform%2Fupstream%2Fgstreamer.git pad: use correct variable in test --- diff --git a/gst/gstpad.c b/gst/gstpad.c index af1c171..d4baf01 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -3713,7 +3713,7 @@ gst_pad_load_and_link (xmlNodePtr self, GstObject * parent) goto cleanup; targetpad = gst_element_get_static_pad (target, split[1]); - if (!pad) + if (!targetpad) targetpad = gst_element_get_request_pad (target, split[1]); if (targetpad == NULL)