From 6c96f8cf1eeb26b42eb20ade28f9f9caa0a480b6 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Tue, 5 Oct 2010 16:47:51 +0200 Subject: [PATCH] sdpdemux: unbreak standard manager setup --- gst/sdp/gstsdpdemux.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index 72ac8c75d0..d47440f5bd 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -1373,13 +1373,12 @@ gst_sdp_demux_start (GstSDPDemux * demux) } } - /* try to get and configure a manager */ - if (uri) { - /* we get here when we didn't do a redirect */ - if (!gst_sdp_demux_configure_manager (demux, uri)) - goto no_manager; - } else { + /* we get here when we didn't do a redirect */ + /* try to get and configure a manager */ + if (!gst_sdp_demux_configure_manager (demux, uri)) + goto no_manager; + if (!uri) { /* create streams with UDP sources and sinks */ n_streams = gst_sdp_message_medias_len (&sdp); for (i = 0; i < n_streams; i++) {