mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
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
This commit is contained in:
parent
1e84f90bdb
commit
8f0fba54b5
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue