rtsp-media: Don't set the transport mode based on what elements we find

Just print a warning if the one that was set before disagrees with what
elements we found. It must already be set to something before as this
function is called after we received the SDP from ANNOUNCE in RECORD mode,
and we would reject ANNOUNCE if the RECORD flag was not set.
This commit is contained in:
Sebastian Dröge 2015-02-09 10:21:50 +01:00
parent a56404a45a
commit 8405cfad3a

View file

@ -1490,7 +1490,6 @@ gst_rtsp_media_collect_streams (GstRTSPMedia * media)
if (priv->transport_mode != mode)
GST_WARNING ("found different mode than expected (0x%02x != 0x%02d)",
priv->transport_mode, mode);
gst_rtsp_media_set_transport_mode (media, mode);
}
}