From: Wim Taymans Date: Fri, 6 May 2011 14:11:18 +0000 (+0200) Subject: bin: let the pad clean up in activate X-Git-Tag: RELEASE-0.11.0~362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcc5570f7f5b792abe2ab93cc19d2fe6c5daad2e;p=platform%2Fupstream%2Fgstreamer.git bin: let the pad clean up in activate --- diff --git a/gst/gstbin.c b/gst/gstbin.c index 9abc509..487745e 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -2237,8 +2237,6 @@ activate_pads (const GValue * vpad, GValue * ret, gboolean * active) if (!(cont = gst_pad_set_active (pad, *active))) g_value_set_boolean (ret, FALSE); - else if (!*active) - gst_pad_set_caps (pad, NULL); /* unref the object that was reffed for us by _fold */ return cont;