From dcc5570f7f5b792abe2ab93cc19d2fe6c5daad2e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 6 May 2011 16:11:18 +0200 Subject: [PATCH] bin: let the pad clean up in activate --- gst/gstbin.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.7.4