summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-08-19 09:58:55 +0200
committerEdward Hervey <bilboed@bilboed.com>2010-08-19 09:58:55 +0200
commitcc4b33ffdf787a4510d00b3783a7aaed701e5caa (patch)
treea22260d76d623e5926aa767af238741682f9b94e
parente3dbe65314e720edadbd28a6defdce258c1ebc3a (diff)
queue2: Use G_GUINT64_FORMAT where needed
Fixes build on macosx
-rw-r--r--plugins/elements/gstqueue2.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/elements/gstqueue2.c b/plugins/elements/gstqueue2.c
index f5bfd26b37..29a0af5639 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);