projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c18ef6d
)
aggregator: Fix strcmp test for sink template
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Sun, 27 Mar 2016 13:36:50 +0000
(19:06 +0530)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Dec 2017 15:10:26 +0000
(15:10 +0000)
libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstaggregator.c
b/libs/gst/base/gstaggregator.c
index
ae56672
..
6755395
100644
(file)
--- a/
libs/gst/base/gstaggregator.c
+++ b/
libs/gst/base/gstaggregator.c
@@
-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);