stream: improve debug

This commit is contained in:
Wim Taymans 2012-11-28 12:40:18 +01:00
parent fe71114a7d
commit d3d74ab77b

View file

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