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:
ba5b78f
)
media: use g_object_ref/unref for GObjects
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 30 Nov 2012 09:05:48 +0000
(10:05 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 30 Nov 2012 09:05:48 +0000
(10:05 +0100)
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
b5a686f
..
26897dc
100644
(file)
--- a/
gst/rtsp-server/rtsp-media.c
+++ b/
gst/rtsp-server/rtsp-media.c
@@
-1267,7
+1267,7
@@
static void
watch_destroyed (GstRTSPMedia * media)
{
GST_DEBUG_OBJECT (media, "source destroyed");
- g
st
_object_unref (media);
+ g_object_unref (media);
}
/* called from streaming threads */
@@
-1377,7
+1377,7
@@
gst_rtsp_media_prepare (GstRTSPMedia * media)
gst_object_unref (bus);
g_source_set_callback (priv->source, (GSourceFunc) bus_message,
- g
st
_object_ref (media), (GDestroyNotify) watch_destroyed);
+ g_object_ref (media), (GDestroyNotify) watch_destroyed);
klass = GST_RTSP_MEDIA_GET_CLASS (media);
priv->id = g_source_attach (priv->source, klass->context);