From 9e8db533a168e38f0c97516f0055b3423b6eee21 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sat, 21 Nov 2009 17:47:26 +0200 Subject: [PATCH] debug: fix format string that was missing a var --- gst-libs/gst/audio/gstbaseaudiosrc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/audio/gstbaseaudiosrc.c b/gst-libs/gst/audio/gstbaseaudiosrc.c index 5843737140..02ce8ec7b0 100644 --- a/gst-libs/gst/audio/gstbaseaudiosrc.c +++ b/gst-libs/gst/audio/gstbaseaudiosrc.c @@ -708,7 +708,8 @@ gst_base_audio_src_get_offset (GstBaseAudioSrc * src) - src->ringbuffer->segbase; if (sample != -1) { - GST_DEBUG_OBJECT (src, "at sample %" G_GUINT64_FORMAT, segdone, sample); + GST_DEBUG_OBJECT (src, "at segment %d and sample %" G_GUINT64_FORMAT, + segdone, sample); /* figure out the segment and the offset inside the segment where * the sample should be read from. */ readseg = sample / sps;