diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-03-05 09:18:52 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-03-05 12:15:04 +0100 |
commit | c34a7cb90da5ecdcbbd56398bd598b59b2a8eb2e (patch) | |
tree | 66cf8b3f56e6cfc8766e1fe1600446cb686dbcd8 | |
parent | 627e492b7ea92ca8c44c9726b4e87d5453a3a1d7 (diff) |
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
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 552bfde3c..3d9852c85 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, |