mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
stream: improve debug
This commit is contained in:
parent
fe71114a7d
commit
d3d74ab77b
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue