rtspsrc: Fix handling of interleaved (TCP) streams
authorSebastian Dröge <sebastian@centricular.com>
Thu, 5 Mar 2015 08:18:52 +0000 (09:18 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 5 Mar 2015 11:15:04 +0000 (12:15 +0100)
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

index 552bfde..3d9852c 100644 (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,