aggregator: Fix strcmp test for sink template

This commit is contained in:
Nirbheek Chauhan 2016-03-27 19:06:50 +05:30 committed by Tim-Philipp Müller
parent c18ef6d8a1
commit 9c0e67bc6e

View file

@ -1316,7 +1316,7 @@ gst_aggregator_default_create_new_pad (GstAggregator * self,
gchar *name = NULL;
if (templ->direction != GST_PAD_SINK ||
g_strcmp0 (templ->name_template, "sink_%u"))
g_strcmp0 (templ->name_template, "sink_%u") != 0)
goto not_sink;
GST_OBJECT_LOCK (self);