From: Sebastian Dröge Date: Thu, 5 Mar 2015 08:18:52 +0000 (+0100) Subject: rtspsrc: Fix handling of interleaved (TCP) streams X-Git-Tag: 1.6.0~542 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c34a7cb90da5ecdcbbd56398bd598b59b2a8eb2e;p=platform%2Fupstream%2Fgst-plugins-good.git 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 --- diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 552bfde..3d9852c 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,