mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
rtspsrc: add more debug
This commit is contained in:
parent
6f1aa3e4d5
commit
5025b3f1b3
1 changed files with 3 additions and 0 deletions
|
@ -2548,6 +2548,7 @@ gst_rtspsrc_stream_free_udp (GstRTSPStream * stream)
|
||||||
|
|
||||||
for (i = 0; i < 2; i++) {
|
for (i = 0; i < 2; i++) {
|
||||||
if (stream->udpsrc[i]) {
|
if (stream->udpsrc[i]) {
|
||||||
|
GST_DEBUG ("free UDP source %d for stream %p", i, stream);
|
||||||
gst_element_set_state (stream->udpsrc[i], GST_STATE_NULL);
|
gst_element_set_state (stream->udpsrc[i], GST_STATE_NULL);
|
||||||
gst_object_unref (stream->udpsrc[i]);
|
gst_object_unref (stream->udpsrc[i]);
|
||||||
stream->udpsrc[i] = NULL;
|
stream->udpsrc[i] = NULL;
|
||||||
|
@ -4929,6 +4930,7 @@ gst_rtspsrc_create_transports_string (GstRTSPSrc * src,
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
failed:
|
failed:
|
||||||
{
|
{
|
||||||
|
GST_ERROR ("extension gave error %d", res);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5004,6 +5006,7 @@ done:
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
failed:
|
failed:
|
||||||
{
|
{
|
||||||
|
GST_ERROR ("failed to allocate udp ports");
|
||||||
return GST_RTSP_ERROR;
|
return GST_RTSP_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue