From ade53fb42f9a4c7c72268f11a779c70f67d6e861 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Fri, 9 Oct 2009 22:00:45 +0200 Subject: [PATCH] vorbis: fixes warings in macosx snow leopard --- ext/vorbis/vorbisdec.c | 6 ++++-- ext/vorbis/vorbisenc.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ext/vorbis/vorbisdec.c b/ext/vorbis/vorbisdec.c index 6cc2bac77c..6b86f3a0f8 100644 --- a/ext/vorbis/vorbisdec.c +++ b/ext/vorbis/vorbisdec.c @@ -337,7 +337,8 @@ vorbis_dec_src_query (GstPad * pad, GstQuery * query) gst_query_set_position (query, format, value); GST_LOG_OBJECT (dec, - "query %p: we return %lld (format %u)", query, value, format); + "query %p: we return %" G_GINT64_FORMAT " (format %u)", query, value, + format); break; } @@ -898,7 +899,8 @@ again: GstClockTime ts; GList *walk; - GST_DEBUG_OBJECT (dec, "first buffer with offset %lld", outoffset); + GST_DEBUG_OBJECT (dec, "first buffer with offset %" G_GINT64_FORMAT, + outoffset); ts = gst_util_uint64_scale_int (outoffset, GST_SECOND, dec->vi.rate); size = g_list_length (dec->queued); diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c index 05da728735..da9da157ea 100644 --- a/ext/vorbis/vorbisenc.c +++ b/ext/vorbis/vorbisenc.c @@ -938,8 +938,10 @@ gst_vorbis_enc_push_buffer (GstVorbisEnc * vorbisenc, GstBuffer * buffer) { vorbisenc->bytes_out += GST_BUFFER_SIZE (buffer); - GST_DEBUG_OBJECT (vorbisenc, "Pushing buffer with GP %lld, ts %lld", - GST_BUFFER_OFFSET_END (buffer), GST_BUFFER_TIMESTAMP (buffer)); + GST_DEBUG_OBJECT (vorbisenc, + "Pushing buffer with GP %" G_GINT64_FORMAT ", ts %" GST_TIME_FORMAT, + GST_BUFFER_OFFSET_END (buffer), + GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (buffer))); return gst_pad_push (vorbisenc->srcpad, buffer); }