From: Wim Taymans Date: Fri, 16 Nov 2012 10:58:53 +0000 (+0100) Subject: rtspsrc: add more debug X-Git-Tag: 1.19.3~509^2~6348 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5025b3f1b3637020f6158a047a468dfb2b81981a;p=platform%2Fupstream%2Fgstreamer.git rtspsrc: add more debug --- diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index b4c55c4..c38edd6 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; } }