mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
aggregator: Fix strcmp test for sink template
This commit is contained in:
parent
cb53a6284f
commit
302a4a7b5c
1 changed files with 1 additions and 1 deletions
|
@ -1316,7 +1316,7 @@ gst_aggregator_default_create_new_pad (GstAggregator * self,
|
||||||
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"))
|
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