mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
gst/udp/gstmultiudpsink.c: Don't try to leave a multicast group with an invalid socket
Original commit message from CVS: * gst/udp/gstmultiudpsink.c: Don't try to leave a multicast group with an invalid socket
This commit is contained in:
parent
3ded44b66d
commit
1fc821baf2
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-01-18 Thijs Vermeir <thijsvermeir@gmail.com>
|
||||
|
||||
* gst/udp/gstmultiudpsink.c:
|
||||
Don't try to leave a multicast group with an invalid socket
|
||||
|
||||
2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/flac/gstflacdec.c:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 0efbab89d333b5d07cc7da1a501c38edf5bb4f72
|
||||
Subproject commit a78a9496c0c8cd815dda3d8d6127f0a654665abf
|
|
@ -727,7 +727,8 @@ gst_multiudpsink_remove (GstMultiUDPSink * sink, const gchar * host, gint port)
|
|||
g_get_current_time (&now);
|
||||
client->disconnect_time = GST_TIMEVAL_TO_TIME (now);
|
||||
|
||||
if (client->multi_addr.imr_multiaddr.s_addr && sink->auto_multicast)
|
||||
if (*(client->sock) != -1 && client->multi_addr.imr_multiaddr.s_addr
|
||||
&& sink->auto_multicast)
|
||||
leave_multicast (client);
|
||||
|
||||
/* Unlock to emit signal before we delete the actual client */
|
||||
|
|
Loading…
Reference in a new issue