summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-11-16 11:58:53 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-11-16 15:42:52 +0100
commit07f89f0a2078c228b749459ea989ff459ced24e7 (patch)
tree386796b27668e7bdde8a97697c56df754c56936b
parentebd9a52f9a9c29965982e783401ecc28d7125700 (diff)
rtspsrc: add more debug
-rw-r--r--gst/rtsp/gstrtspsrc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index cef8c5667..6e95f56df 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -2548,6 +2548,7 @@ gst_rtspsrc_stream_free_udp (GstRTSPStream * stream)
for (i = 0; i < 2; 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_object_unref (stream->udpsrc[i]);
stream->udpsrc[i] = NULL;
@@ -4929,6 +4930,7 @@ gst_rtspsrc_create_transports_string (GstRTSPSrc * src,
/* ERRORS */
failed:
{
+ GST_ERROR ("extension gave error %d", res);
return res;
}
}
@@ -5004,6 +5006,7 @@ done:
/* ERRORS */
failed:
{
+ GST_ERROR ("failed to allocate udp ports");
return GST_RTSP_ERROR;
}
}