mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
rtspsrc: remove unused variables when debug-logging disabled
This commit is contained in:
parent
a570310cdc
commit
c9e0db6469
1 changed files with 4 additions and 7 deletions
|
@ -2247,9 +2247,7 @@ unknown_stream:
|
||||||
static void
|
static void
|
||||||
gst_rtspsrc_do_stream_eos (GstRTSPSrc * src, GstRTSPStream * stream)
|
gst_rtspsrc_do_stream_eos (GstRTSPSrc * src, GstRTSPStream * stream)
|
||||||
{
|
{
|
||||||
guint session = stream->id;
|
GST_DEBUG_OBJECT (src, "setting stream for session %u to EOS", stream->id);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (src, "setting stream for session %u to EOS", session);
|
|
||||||
|
|
||||||
if (stream->eos)
|
if (stream->eos)
|
||||||
goto was_eos;
|
goto was_eos;
|
||||||
|
@ -2261,7 +2259,7 @@ gst_rtspsrc_do_stream_eos (GstRTSPSrc * src, GstRTSPStream * stream)
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
was_eos:
|
was_eos:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (src, "stream for session %u was already EOS", session);
|
GST_DEBUG_OBJECT (src, "stream for session %u was already EOS", stream->id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2303,9 +2301,8 @@ on_npt_stop (GstElement * rtpbin, guint session, guint ssrc, GstRTSPSrc * src)
|
||||||
static void
|
static void
|
||||||
on_ssrc_active (GObject * session, GObject * source, GstRTSPStream * stream)
|
on_ssrc_active (GObject * session, GObject * source, GstRTSPStream * stream)
|
||||||
{
|
{
|
||||||
GstRTSPSrc *src = stream->parent;
|
GST_DEBUG_OBJECT (stream->parent, "source in session %u is active",
|
||||||
|
stream->id);
|
||||||
GST_DEBUG_OBJECT (src, "source in session %u is active", stream->id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* try to get and configure a manager */
|
/* try to get and configure a manager */
|
||||||
|
|
Loading…
Reference in a new issue