[0.11] gst-plugins-base: videopool: fix printf warning in debug message

Tim Müller tpm at kemper.freedesktop.org
Sun Jan 15 10:26:44 PST 2012


Module: gst-plugins-base
Branch: 0.11
Commit: 5c91ca32567ea6937beba80d8b1e8c7d727aec76
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=5c91ca32567ea6937beba80d8b1e8c7d727aec76

Author: Matej Knopp <matej.knopp at gmail.com>
Date:   Tue Dec 27 04:18:19 2011 +0100

videopool: fix printf warning in debug message

https://bugzilla.gnome.org/show_bug.cgi?id=662607

---

 gst-libs/gst/video/gstvideopool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst-libs/gst/video/gstvideopool.c b/gst-libs/gst/video/gstvideopool.c
index 239cecb..d7e0dd1 100644
--- a/gst-libs/gst/video/gstvideopool.c
+++ b/gst-libs/gst/video/gstvideopool.c
@@ -248,7 +248,7 @@ video_buffer_pool_alloc (GstBufferPool * pool, GstBuffer ** buffer,
 
   info = &priv->info;
 
-  GST_DEBUG_OBJECT (pool, "alloc %u", info->size);
+  GST_DEBUG_OBJECT (pool, "alloc %" G_GSIZE_FORMAT, info->size);
 
   mem =
       gst_allocator_alloc (priv->allocator, info->size + priv->prefix,



More information about the gstreamer-commits mailing list