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
This commit is contained in:
Sebastian Dröge 2015-03-05 09:18:52 +01:00
parent 627e492b7e
commit c34a7cb90d

View file

@ -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,