mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +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;
|
gint serial = 0;
|
||||||
gchar *name = NULL;
|
gchar *name = NULL;
|
||||||
|
|
||||||
if (templ->direction != GST_PAD_SINK ||
|
if (templ->direction != GST_PAD_SINK)
|
||||||
g_strcmp0 (templ->name_template, "sink_%u") != 0)
|
|
||||||
goto not_sink;
|
goto not_sink;
|
||||||
|
|
||||||
GST_OBJECT_LOCK (self);
|
GST_OBJECT_LOCK (self);
|
||||||
|
|
Loading…
Reference in a new issue