mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
parse: fix for new GstChildProxy::child-added signal callback signature
Fixes crash with gst-launch-1.0 uridecodebin uri=... suburi=... ! ..
This commit is contained in:
parent
314eec4ca6
commit
de7601bb2d
1 changed files with 5 additions and 4 deletions
|
@ -287,7 +287,7 @@ gst_parse_free_delayed_set (DelayedSet *set)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gst_parse_new_child(GstChildProxy *child_proxy, GObject *object,
|
static void gst_parse_new_child(GstChildProxy *child_proxy, GObject *object,
|
||||||
gpointer data);
|
const gchar * name, gpointer data);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_parse_add_delayed_set (GstElement *element, gchar *name, gchar *value_str)
|
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,
|
static void
|
||||||
gpointer data)
|
gst_parse_new_child(GstChildProxy *child_proxy, GObject *object,
|
||||||
|
const gchar * name, gpointer data)
|
||||||
{
|
{
|
||||||
DelayedSet *set = (DelayedSet *) data;
|
DelayedSet *set = (DelayedSet *) data;
|
||||||
GParamSpec *pspec;
|
GParamSpec *pspec;
|
||||||
|
@ -336,7 +337,7 @@ static void gst_parse_new_child(GstChildProxy *child_proxy, GObject *object,
|
||||||
GType value_type;
|
GType value_type;
|
||||||
|
|
||||||
GST_CAT_LOG_OBJECT (GST_CAT_PIPELINE, child_proxy, "new child %s, checking property %s",
|
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)) {
|
if (gst_child_proxy_lookup (G_OBJECT (child_proxy), set->name, &target, &pspec)) {
|
||||||
gboolean got_value = FALSE;
|
gboolean got_value = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue