diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2010-10-05 16:47:51 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2010-10-05 17:08:19 +0200 |
commit | 6c96f8cf1eeb26b42eb20ade28f9f9caa0a480b6 (patch) | |
tree | 59b23c9652480e1170ba3226116236c6d399d895 /gst/sdp | |
parent | 669425c4c042276f444413b69fd61fd4842b659c (diff) | |
download | gstreamer-plugins-bad-6c96f8cf1eeb26b42eb20ade28f9f9caa0a480b6.tar.gz |
sdpdemux: unbreak standard manager setup
Diffstat (limited to 'gst/sdp')
-rw-r--r-- | gst/sdp/gstsdpdemux.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index 72ac8c75d..d47440f5b 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++) { |