summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <olivier.crete@collabora.com>2016-11-18 14:41:54 -0500
committerTim-Philipp Müller <tim@centricular.com>2017-12-02 15:10:27 +0000
commit6eda156b2041175dc3e88ea6cfb842b9ce5089b1 (patch)
treee85a9e11f6c7f5846dab78b6e21fd6c8f7988472
parentc4209ba5d18ef18cc66179ea4ff507bc5abf19e2 (diff)
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
-rw-r--r--libs/gst/base/gstaggregator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c
index ce2c94f6d..28bdde00b 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);