summaryrefslogtreecommitdiffstats
path: root/gst/udp
diff options
context:
space:
mode:
Diffstat (limited to 'gst/udp')
-rw-r--r--gst/udp/gstmultiudpsink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c
index be8d4846..1ec8f63a 100644
--- a/gst/udp/gstmultiudpsink.c
+++ b/gst/udp/gstmultiudpsink.c
@@ -542,7 +542,8 @@ leave_multicast (GstUDPClient * client)
{
if (setsockopt (*(client->sock), IPPROTO_IP, IP_DROP_MEMBERSHIP,
&(client->multi_addr), sizeof (client->multi_addr)) < 0)
- perror ("setsockopt IP_DROP_MEMBERSHIP\n");
+ GST_WARNING ("setsockopt IP_DROP_MEMBERSHIP failed '%s'",
+ g_strerror (errno));
}
/* create a socket for sending to remote machine */