rtsp-stream: Decide based on the sockets, not the addresses if we already allocated...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 19 Dec 2017 09:14:48 +0000 (11:14 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 19 Dec 2017 09:16:51 +0000 (11:16 +0200)
commit4d86f99449839f74d0ade7f86451ed70bebdbb60
tree46961c3b6995c2288f674439cfd0019f8a84e558
parent64f1a3ab8527a33512682355ddc8adb604d26148
rtsp-stream: Decide based on the sockets, not the addresses if we already allocated a socket

In the multicast case (as in test-multicast, not test-multicast2), the
address could be allocated/reserved (and thus set) already without
allocating the actual socket. We need to allocate the socket here still
instead of just claiming that it was already allocated.

See https://bugzilla.gnome.org/show_bug.cgi?id=791743#c2
gst/rtsp-server/rtsp-stream.c