From: Olivier CrĂȘte Date: Fri, 18 Nov 2016 19:41:54 +0000 (-0500) Subject: aggregator: Don't restrict sink pad names X-Git-Tag: 1.16.2~574^2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6eda156b2041175dc3e88ea6cfb842b9ce5089b1;p=platform%2Fupstream%2Fgstreamer.git aggregator: Don't restrict sink pad names Sink pads could have other names than sink_%u https://bugzilla.gnome.org/show_bug.cgi?id=782920 --- diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index ce2c94f..28bdde0 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -1603,8 +1603,7 @@ gst_aggregator_default_create_new_pad (GstAggregator * self, gint serial = 0; gchar *name = NULL; - if (templ->direction != GST_PAD_SINK || - g_strcmp0 (templ->name_template, "sink_%u") != 0) + if (templ->direction != GST_PAD_SINK) goto not_sink; GST_OBJECT_LOCK (self);