[gst-cvs] gst-plugins-good: qtdemux: use G_GSIZE_FORMAT for platform independent gsize qualifier

Edward Hervey bilboed at kemper.freedesktop.org
Tue Jan 12 08:37:25 PST 2010


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

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Tue Jan 12 17:39:05 2010 +0100

qtdemux: use G_GSIZE_FORMAT for platform independent gsize qualifier

Fixes build on macosx

---

 gst/qtdemux/qtdemux.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 899ddac..a6b5013 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -4156,7 +4156,8 @@ qtdemux_stbl_init (GstQTDemux * qtdemux, QtDemuxStream * stream, GNode * stbl)
     return FALSE;
   }
 
-  GST_DEBUG_OBJECT (qtdemux, "allocating n_samples %u * %d = (%u MB)",
+  GST_DEBUG_OBJECT (qtdemux,
+      "allocating n_samples %u * %" G_GSIZE_FORMAT " = (%u MB)",
       stream->n_samples, sizeof (QtDemuxSample),
       (guint) (stream->n_samples * sizeof (QtDemuxSample)) >> 20);
 





More information about the Gstreamer-commits mailing list