From c34a7cb90da5ecdcbbd56398bd598b59b2a8eb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 5 Mar 2015 09:18:52 +0100 Subject: [PATCH] rtspsrc: Fix handling of interleaved (TCP) streams We need to set up the transport in any case, not just if we have a container stream or a non-interleaved stream. Only if we have an interleaved stream and are retrying, we should not set up the stream again. https://bugzilla.gnome.org/show_bug.cgi?id=745599 --- gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 552bfde3cd..3d9852c855 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -6523,7 +6523,7 @@ gst_rtspsrc_setup_streams (GstRTSPSrc * src, gboolean async) break; } - if (stream->container || (!src->interleaved && !retry)) { + if (!src->interleaved || !retry) { /* now configure the stream with the selected transport */ if (!gst_rtspsrc_stream_configure_transport (stream, &transport)) { GST_DEBUG_OBJECT (src,