projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bfee11
)
aggregator: Fix requested pad name
author
Thibault Saunier
<tsaunier@gnome.org>
Sat, 21 Jun 2014 11:45:13 +0000
(13:45 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Sat, 21 Jun 2014 12:14:26 +0000
(14:14 +0200)
gst-libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/base/gstaggregator.c
b/gst-libs/gst/base/gstaggregator.c
index
c566384
..
5006ea5
100644
(file)
--- a/
gst-libs/gst/base/gstaggregator.c
+++ b/
gst-libs/gst/base/gstaggregator.c
@@
-744,7
+744,7
@@
_request_new_pad (GstElement * element,
self = GST_AGGREGATOR (element);
if (templ == gst_element_class_get_pad_template (klass, "sink_%u")) {
- g
u
int serial = 0;
+ gint serial = 0;
gchar *name = NULL;
GST_OBJECT_LOCK (element);
@@
-756,7
+756,7
@@
_request_new_pad (GstElement * element,
/* parse serial number from requested padname */
serial = g_ascii_strtoull (&req_name[5], NULL, 10);
if (serial >= priv->padcount)
- priv->padcount = serial
+ 1
;
+ priv->padcount = serial;
}
name = g_strdup_printf ("sink_%u", priv->padcount);