stream: improve debug
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 28 Nov 2012 11:40:18 +0000 (12:40 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 28 Nov 2012 11:40:18 +0000 (12:40 +0100)
gst/rtsp-server/rtsp-stream.c

index a4f52dc..6e35d8f 100644 (file)
@@ -59,6 +59,8 @@ gst_rtsp_stream_class_init (GstRTSPStreamClass * klass)
 static void
 gst_rtsp_stream_init (GstRTSPStream * stream)
 {
+  GST_DEBUG ("new stream %p", stream);
+
   g_mutex_init (&stream->lock);
 }
 
@@ -69,6 +71,8 @@ gst_rtsp_stream_finalize (GObject * obj)
 
   stream = GST_RTSP_STREAM (obj);
 
+  GST_DEBUG ("finalize stream %p", stream);
+
   /* we really need to be unjoined now */
   g_return_if_fail (!stream->is_joined);