gst/udp/gstmultiudpsink.c: use GST_WARNING for logging
authorThijs Vermeir <thijsvermeir@gmail.com>
Fri, 18 Jan 2008 13:40:38 +0000 (13:40 +0000)
committerThijs Vermeir <thijsvermeir@gmail.com>
Fri, 18 Jan 2008 13:40:38 +0000 (13:40 +0000)
Original commit message from CVS:
* gst/udp/gstmultiudpsink.c:
use GST_WARNING for logging

ChangeLog
common
gst/udp/gstmultiudpsink.c

index 7cba0d3..7f4d8a7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 2008-01-18  Thijs Vermeir  <thijsvermeir@gmail.com>
 
        * gst/udp/gstmultiudpsink.c:
+       use GST_WARNING for logging
+
+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>
diff --git a/common b/common
index a78a949..9aa2dcf 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit a78a9496c0c8cd815dda3d8d6127f0a654665abf
+Subproject commit 9aa2dcf8d6855932e9e91006d6be96f55fd9f1a3
index be8d484..1ec8f63 100644 (file)
@@ -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 */