mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
tests/icles/dccp: Release reference to parent
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732977
This commit is contained in:
parent
ab29217726
commit
c534ad8e81
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue