rtsp-media: Don't set the transport mode based on what elements we find
authorSebastian Dröge <sebastian@centricular.com>
Mon, 9 Feb 2015 09:21:50 +0000 (10:21 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 9 Feb 2015 09:21:50 +0000 (10:21 +0100)
commit8405cfad3ab63b56e48edc25656b931615f302ad
treeaf5e4cc44dce381bc41b6b0c12caaa702281ef3b
parenta56404a45a3b170e1d563aaa4c1f92c66ab68331
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.
gst/rtsp-server/rtsp-media.c