queue2: add some more debug info
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 9 Apr 2010 13:19:12 +0000 (15:19 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 9 Apr 2010 13:19:12 +0000 (15:19 +0200)
plugins/elements/gstqueue2.c

index 403cff6..d3e8e2c 100644 (file)
@@ -2036,6 +2036,8 @@ gst_queue2_handle_src_query (GstPad * pad, GstQuery * query)
           estimated_total = -1;
           buffering_left = -1;
         }
+        GST_DEBUG_OBJECT (queue, "estimated %" G_GINT64_FORMAT ", left %"
+            G_GINT64_FORMAT, estimated_total, buffering_left);
 
         gst_query_parse_buffering_range (query, &format, NULL, NULL, NULL);