From 70f01fd797a125e731f4633e9bc3da2e62aafcb4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 9 Sep 2009 16:16:40 +0200 Subject: [PATCH] ringbuffer: add more debug --- gst-libs/gst/audio/gstringbuffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/audio/gstringbuffer.c b/gst-libs/gst/audio/gstringbuffer.c index 971bd00d01..a372b4be00 100644 --- a/gst-libs/gst/audio/gstringbuffer.c +++ b/gst-libs/gst/audio/gstringbuffer.c @@ -1612,8 +1612,8 @@ default_commit (GstRingBuffer * buf, guint64 * sample, diff = writeseg - segdone; GST_DEBUG - ("pointer at %d, write to %d-%d, diff %d, segtotal %d, segsize %d", - segdone, writeseg, sampleoff, diff, segtotal, segsize); + ("pointer at %d, write to %d-%d, diff %d, segtotal %d, segsize %d, base %d", + segdone, writeseg, sampleoff, diff, segtotal, segsize, buf->segbase); /* segment too far ahead, writer too slow, we need to drop, hopefully UNLIKELY */ if (G_UNLIKELY (diff < 0)) {