summaryrefslogtreecommitdiff
path: root/gst/parse
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-08-08 00:54:49 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-08-08 00:59:07 +0100
commitde7601bb2de120a33797c9fbf85eb0868b0167fb (patch)
tree0d4cd164efa245a80a8be2d0b318ee521905fe64 /gst/parse
parent314eec4ca60b6f0da6532a78ea0869937647af3b (diff)
parse: fix for new GstChildProxy::child-added signal callback signature
Fixes crash with gst-launch-1.0 uridecodebin uri=... suburi=... ! ..
Diffstat (limited to 'gst/parse')
-rw-r--r--gst/parse/grammar.y9
1 files changed, 5 insertions, 4 deletions
diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
index 1b1dffa3a..0a62adb91 100644
--- a/gst/parse/grammar.y
+++ b/gst/parse/grammar.y
@@ -287,7 +287,7 @@ gst_parse_free_delayed_set (DelayedSet *set)
}
static void gst_parse_new_child(GstChildProxy *child_proxy, GObject *object,
- gpointer data);
+ const gchar * name, gpointer data);
static void
gst_parse_add_delayed_set (GstElement *element, gchar *name, gchar *value_str)
@@ -326,8 +326,9 @@ gst_parse_add_delayed_set (GstElement *element, gchar *name, gchar *value_str)
}
}
-static void gst_parse_new_child(GstChildProxy *child_proxy, GObject *object,
- gpointer data)
+static void
+gst_parse_new_child(GstChildProxy *child_proxy, GObject *object,
+ const gchar * name, gpointer data)
{
DelayedSet *set = (DelayedSet *) data;
GParamSpec *pspec;
@@ -336,7 +337,7 @@ static void gst_parse_new_child(GstChildProxy *child_proxy, GObject *object,
GType value_type;
GST_CAT_LOG_OBJECT (GST_CAT_PIPELINE, child_proxy, "new child %s, checking property %s",
- GST_OBJECT_NAME(object), set->name);
+ name, set->name);
if (gst_child_proxy_lookup (G_OBJECT (child_proxy), set->name, &target, &pspec)) {
gboolean got_value = FALSE;