[gst-cvs] gst-plugins-good: pulse: fix printf format in some debugging messages

Tim Müller tpm at kemper.freedesktop.org
Sun Aug 8 16:39:49 PDT 2010


Module: gst-plugins-good
Branch: master
Commit: 74b2af63fd9d69e019636bdde6c97ecbdb02b03a
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=74b2af63fd9d69e019636bdde6c97ecbdb02b03a

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Mon Aug  9 00:36:36 2010 +0100

pulse: fix printf format in some debugging messages

---

 ext/pulse/pulsesink.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c
index 3f6f7ba..a8d019c 100644
--- a/ext/pulse/pulsesink.c
+++ b/ext/pulse/pulsesink.c
@@ -1304,14 +1304,17 @@ gst_pulseringbuffer_commit (GstRingBuffer * buf, guint64 * sample,
             pbuf->m_writable);
       }
 
-      GST_LOG_OBJECT (psink, "requesting %u bytes of shared memory",
-          pbuf->m_writable);
+      GST_LOG_OBJECT (psink, "requesting %" G_GSIZE_FORMAT " bytes of "
+          "shared memory", pbuf->m_writable);
+
       if (pa_stream_begin_write (pbuf->stream, &pbuf->m_data,
               &pbuf->m_writable) < 0) {
         GST_LOG_OBJECT (psink, "pa_stream_begin_write() failed");
         goto writable_size_failed;
       }
-      GST_LOG_OBJECT (psink, "got %u bytes of shared memory", pbuf->m_writable);
+
+      GST_LOG_OBJECT (psink, "got %" G_GSIZE_FORMAT " bytes of shared memory",
+          pbuf->m_writable);
 
       /* Just to make sure that we didn't get more than requested */
       if (pbuf->m_writable > buf->spec.segsize) {





More information about the Gstreamer-commits mailing list