Commit c534ad8e authored by Sebastian Rasmussen's avatar Sebastian Rasmussen Committed by Tim-Philipp Müller

tests/icles/dccp: Release reference to parent

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732977
parent ab292177
......@@ -62,6 +62,7 @@ start_dccpserversink_pipe (GstElement * object, gint socket, gpointer data)
GstElement *pipelinesink =
(GstElement *) gst_element_get_parent (dccpserversink);
gst_element_set_state (pipelinesink, GST_STATE_PLAYING);
gst_object_unref (pipelinesink);
}
......
......@@ -62,6 +62,7 @@ start_dccpclientsrc_pipe (GstElement * object, gint socket, gpointer data)
GstElement *pipelinesrc =
(GstElement *) gst_element_get_parent (dccpclientsrc);
gst_element_set_state (pipelinesrc, GST_STATE_PLAYING);
gst_object_unref (pipelinesrc);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment