From d3d74ab77b6cb045d373ee9adbaa0199e78cb7ec Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 28 Nov 2012 12:40:18 +0100 Subject: [PATCH] stream: improve debug --- gst/rtsp-server/rtsp-stream.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c index a4f52dc3cc..6e35d8f84f 100644 --- a/gst/rtsp-server/rtsp-stream.c +++ b/gst/rtsp-server/rtsp-stream.c @@ -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);