mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
a56404a45a
commit
8405cfad3a
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue