rtsp-stream: Always create multicast UDP elements if the protocol flag is set
authorSebastian Dröge <sebastian@centricular.com>
Mon, 5 Sep 2016 15:04:50 +0000 (18:04 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 5 Sep 2016 15:09:22 +0000 (18:09 +0300)
commitca855abae1a38c4278f85b93f84bf2b0c6a8a4d9
tree2fd44243b775f1fdc84da0a3a16f57b7f3b78b65
parentbe4b9718e33ce376c691b9b0f8c61350054cd2c3
rtsp-stream: Always create multicast UDP elements if the protocol flag is set

Adding them later will cause deadlocks due to
1) pre-rolling and staying in PAUSED with the unicast/TCP sinks
2) adding the multicast sink
3) waiting for it to get data to preroll again

3) never happens because the queues after the tee are full.
gst/rtsp-server/rtsp-stream.c