mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
media: media has to be unprepared in finalize
Because unprepare takes away the last ref on the media.
This commit is contained in:
parent
38addd7822
commit
ca26588c7e
1 changed files with 0 additions and 2 deletions
|
@ -218,8 +218,6 @@ gst_rtsp_media_finalize (GObject * obj)
|
|||
|
||||
GST_INFO ("finalize media %p", media);
|
||||
|
||||
gst_rtsp_media_unprepare (media);
|
||||
|
||||
g_ptr_array_unref (priv->streams);
|
||||
|
||||
g_list_free_full (priv->dynamic, gst_object_unref);
|
||||
|
|
Loading…
Reference in a new issue