sdpdemux: unbreak standard manager setup

This commit is contained in:
Mark Nauwelaerts 2010-10-05 16:47:51 +02:00
parent 669425c4c0
commit 6c96f8cf1e

View file

@ -1373,13 +1373,12 @@ gst_sdp_demux_start (GstSDPDemux * demux)
} }
} }
/* try to get and configure a manager */ /* we get here when we didn't do a redirect */
if (uri) {
/* we get here when we didn't do a redirect */
if (!gst_sdp_demux_configure_manager (demux, uri))
goto no_manager;
} else {
/* 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 */ /* create streams with UDP sources and sinks */
n_streams = gst_sdp_message_medias_len (&sdp); n_streams = gst_sdp_message_medias_len (&sdp);
for (i = 0; i < n_streams; i++) { for (i = 0; i < n_streams; i++) {