rtsp-stream: Bind multicast sockets to ANY as before

https://bugzilla.gnome.org/show_bug.cgi?id=766612#c48
This commit is contained in:
Sebastian Dröge 2016-09-06 19:10:21 +03:00
parent 6136ef66d4
commit e5a49efa7f

View file

@ -1284,7 +1284,10 @@ again:
tmp_rtp = addr->port;
g_clear_object (&inetaddr);
inetaddr = g_inet_address_new_from_string (addr->address);
if (multicast)
inetaddr = g_inet_address_new_any (family);
else
inetaddr = g_inet_address_new_from_string (addr->address);
} else {
if (tmp_rtp != 0) {
tmp_rtp += 2;