summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2009-10-11 16:14:08 +0200
committerJosep Torra <n770galaxy@gmail.com>2009-10-11 16:14:08 +0200
commit9c6b0cacb5724f139172bf334bb133ae5cd8cc93 (patch)
tree357aa54cfc816081a95b1770e8eb62de80052435
parent8d77fcd1fb18fbef16714ca4cab27d080aa2dc18 (diff)
mpegaudioparse: fix warning in macosx snow leopard
-rw-r--r--gst/mpegaudioparse/gstmpegaudioparse.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c
index e1dbb30a..009da971 100644
--- a/gst/mpegaudioparse/gstmpegaudioparse.c
+++ b/gst/mpegaudioparse/gstmpegaudioparse.c
@@ -496,8 +496,9 @@ gst_mp3parse_sink_event (GstPad * pad, GstEvent * event)
GST_DEBUG_OBJECT (mp3parse,
"Pushing accurate newseg rate %g, applied rate %g, "
- "format %d, start %lld, stop %lld, pos %lld", rate,
- applied_rate, format, start, stop, pos);
+ "format %d, start %" G_GINT64_FORMAT ", stop %" G_GINT64_FORMAT
+ ", pos %" G_GINT64_FORMAT, rate, applied_rate, format, start,
+ stop, pos);
g_free (seek);
mp3parse->pending_accurate_seeks =
@@ -553,8 +554,9 @@ gst_mp3parse_sink_event (GstPad * pad, GstEvent * event)
gst_event_parse_new_segment_full (event, &update, &rate, &applied_rate,
&format, &start, &stop, &pos);
GST_DEBUG_OBJECT (mp3parse, "Pushing newseg rate %g, applied rate %g, "
- "format %d, start %lld, stop %lld, pos %lld",
- rate, applied_rate, format, start, stop, pos);
+ "format %d, start %" G_GINT64_FORMAT ", stop %" G_GINT64_FORMAT
+ ", pos %" G_GINT64_FORMAT, rate, applied_rate, format, start, stop,
+ pos);
gst_segment_set_newsegment_full (&mp3parse->segment, update, rate,
applied_rate, format, start, stop, pos);
@@ -663,8 +665,8 @@ gst_mp3parse_emit_frame (GstMPEGAudioParse * mp3parse, guint size,
if (diff < -thresh || diff > thresh) {
GST_DEBUG_OBJECT (mp3parse, "Updating next_ts from %" GST_TIME_FORMAT
" to pending ts %" GST_TIME_FORMAT
- " at offset %lld (pending offset was %lld)",
- GST_TIME_ARGS (mp3parse->next_ts),
+ " at offset %" G_GINT64_FORMAT " (pending offset was %"
+ G_GINT64_FORMAT ")", GST_TIME_ARGS (mp3parse->next_ts),
GST_TIME_ARGS (mp3parse->pending_ts), mp3parse->tracked_offset,
mp3parse->pending_offset);
mp3parse->next_ts = mp3parse->pending_ts;
@@ -1512,7 +1514,7 @@ gst_mp3parse_chain (GstPad * pad, GstBuffer * buf)
mp3parse->next_ts = timestamp;
GST_LOG_OBJECT (mp3parse, "Have pending ts %" GST_TIME_FORMAT
- " to apply in %lld bytes (@ off %lld)",
+ " to apply in %" G_GINT64_FORMAT " bytes (@ off %" G_GINT64_FORMAT ")",
GST_TIME_ARGS (mp3parse->pending_ts), avail, mp3parse->pending_offset);
}