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:
00d9a94
)
client: never call gst_rtsp_media_unprepare, let gst_rtsp_media_finalize do it
author
Alessandro Decina
<alessandro.d@gmail.com>
Fri, 30 Nov 2012 06:05:25 +0000
(07:05 +0100)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Fri, 30 Nov 2012 06:06:17 +0000
(07:06 +0100)
Calling gst_rtsp_media_unprepare breaks shared medias. Just unref
GstRTSPMedia instances and let gst_rtsp_media_finalize unprepare when a media
isn't being used anymore.
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index
e8f3957
..
becfb0e
100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-278,7
+278,6
@@
gst_rtsp_client_finalize (GObject * obj)
if (priv->uri)
gst_rtsp_url_free (priv->uri);
if (priv->media) {
- gst_rtsp_media_unprepare (priv->media);
g_object_unref (priv->media);
}
@@
-436,7
+435,6
@@
find_media (GstRTSPClient * client, GstRTSPClientState * state)
gst_rtsp_url_free (priv->uri);
priv->uri = NULL;
if (priv->media) {
- gst_rtsp_media_unprepare (priv->media);
g_object_unref (priv->media);
}
priv->media = NULL;