summaryrefslogtreecommitdiffstats
path: root/gst/udp
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2008-06-20 16:24:11 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2008-06-20 16:24:11 +0000
commitb3ac90d9e88e0e3455b902084bd077fe7197d6a1 (patch)
tree14eded9edef1b82b19c1e4edae004a5c01de361d /gst/udp
parentd33bbb11767d3575a13f3f33d1c6740ed5ef529a (diff)
gst/: Added debug.
Original commit message from CVS: * gst/rtp/gstrtptheorapay.c: * gst/udp/gstmultiudpsink.c: Added debug.
Diffstat (limited to 'gst/udp')
-rw-r--r--gst/udp/gstmultiudpsink.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c
index 13b14661..1188b31a 100644
--- a/gst/udp/gstmultiudpsink.c
+++ b/gst/udp/gstmultiudpsink.c
@@ -374,7 +374,7 @@ gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer)
sink->bytes_to_serve += size;
- /* grab lock while iterating and sending to clients, this shuld be
+ /* grab lock while iterating and sending to clients, this should be
* fast as UDP never blocks */
g_mutex_lock (sink->client_lock);
GST_LOG_OBJECT (bsink, "about to send %d bytes", size);
@@ -697,11 +697,14 @@ gst_multiudpsink_add_internal (GstMultiUDPSink * sink, const gchar * host,
g_signal_emit (G_OBJECT (sink),
gst_multiudpsink_signals[SIGNAL_CLIENT_ADDED], 0, host, port);
+ GST_DEBUG_OBJECT (sink, "added client on host %s, port %d", host, port);
return;
/* ERRORS */
getaddrinfo_error:
{
+ GST_DEBUG_OBJECT (sink, "did not add client on host %s, port %d", host,
+ port);
GST_WARNING_OBJECT (sink, "getaddrinfo lookup error?");
g_free (client->host);
g_free (client);