add debug
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 13 Apr 2007 22:10:58 +0000 (22:10 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 13 Apr 2007 22:10:58 +0000 (22:10 +0000)
Original commit message from CVS:
add debug

gst/tcp/gstmultifdsink.c

index 702096e..c7d9133 100644 (file)
@@ -1553,6 +1553,8 @@ gst_multi_fd_sink_new_client (GstMultiFdSink * sink, GstTCPClient * client)
 
   GST_DEBUG_OBJECT (sink,
       "[fd %5d] new client, deciding where to start in queue", client->fd.fd);
+  GST_DEBUG_OBJECT (sink, "queue is currently %d buffers long",
+      sink->bufqueue->len);
   switch (client->sync_method) {
     case GST_SYNC_METHOD_LATEST:
       /* no syncing, we are happy with whatever the client is going to get */