projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bdff01
)
media: don't free streams array
author
Ognyan Tonchev
<ognyan@axis.com>
Mon, 22 Apr 2013 14:25:17 +0000
(16:25 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 22 Apr 2013 14:25:17 +0000
(16:25 +0200)
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
gst/rtsp-server/rtsp-media.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-media.c
b/gst/rtsp-server/rtsp-media.c
index
e30bc0e
..
e81aa12
100644
(file)
--- a/
gst/rtsp-server/rtsp-media.c
+++ b/
gst/rtsp-server/rtsp-media.c
@@
-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;