From cc4b33ffdf787a4510d00b3783a7aaed701e5caa Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 19 Aug 2010 09:58:55 +0200 Subject: [PATCH] queue2: Use G_GUINT64_FORMAT where needed Fixes build on macosx --- plugins/elements/gstqueue2.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/elements/gstqueue2.c b/plugins/elements/gstqueue2.c index f5bfd26..29a0af5 100644 --- a/plugins/elements/gstqueue2.c +++ b/plugins/elements/gstqueue2.c @@ -1020,7 +1020,7 @@ gst_queue2_have_data (GstQueue2 * queue, guint64 offset, guint length) perform_seek_to_offset (queue, range->writing_pos); } - GST_INFO_OBJECT (queue, "cur_level.bytes %u (max %u)", + GST_INFO_OBJECT (queue, "cur_level.bytes %u (max %" G_GUINT64_FORMAT ")", queue->cur_level.bytes, QUEUE_MAX_BYTES (queue)); /* we have a range for offset */ @@ -1179,7 +1179,8 @@ gst_queue2_create_read (GstQueue2 * queue, guint64 offset, guint length, } else if (queue->is_eos) { /* won't get any more data so read any data we have */ if (level) { - GST_DEBUG_OBJECT (queue, "EOS hit but read %u bytes that we have", + GST_DEBUG_OBJECT (queue, + "EOS hit but read %" G_GUINT64_FORMAT " bytes that we have", level); read_length = level; } else { @@ -1715,7 +1716,7 @@ gst_queue2_create_write (GstQueue2 * queue, GstBuffer * buffer) /* update the buffering status */ update_buffering (queue); - GST_INFO_OBJECT (queue, "cur_level.bytes %u (max %u)", + GST_INFO_OBJECT (queue, "cur_level.bytes %u (max %" G_GUINT64_FORMAT ")", queue->cur_level.bytes, QUEUE_MAX_BYTES (queue)); GST_QUEUE2_SIGNAL_ADD (queue); -- 2.7.4