mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
media: don't free streams array
Don't free the streams array in the unprepare() method, they were not added in prepare(). See https://bugzilla.gnome.org/show_bug.cgi?id=698376
This commit is contained in:
parent
0bdff0161c
commit
9b31fcc7f8
1 changed files with 0 additions and 1 deletions
|
@ -1604,7 +1604,6 @@ finish_unprepare (GstRTSPMedia * media)
|
|||
|
||||
gst_rtsp_stream_leave_bin (stream, GST_BIN (priv->pipeline), priv->rtpbin);
|
||||
}
|
||||
g_ptr_array_set_size (priv->streams, 0);
|
||||
|
||||
gst_bin_remove (GST_BIN (priv->pipeline), priv->rtpbin);
|
||||
priv->rtpbin = NULL;
|
||||
|
|
Loading…
Reference in a new issue