mpegaudioparse: fix warning in macosx snow leopard

This commit is contained in:
Josep Torra 2009-10-11 16:14:08 +02:00
parent 8d77fcd1fb
commit 9c6b0cacb5

View File

@ -496,8 +496,9 @@ gst_mp3parse_sink_event (GstPad * pad, GstEvent * event)
GST_DEBUG_OBJECT (mp3parse, GST_DEBUG_OBJECT (mp3parse,
"Pushing accurate newseg rate %g, applied rate %g, " "Pushing accurate newseg rate %g, applied rate %g, "
"format %d, start %lld, stop %lld, pos %lld", rate, "format %d, start %" G_GINT64_FORMAT ", stop %" G_GINT64_FORMAT
applied_rate, format, start, stop, pos); ", pos %" G_GINT64_FORMAT, rate, applied_rate, format, start,
stop, pos);
g_free (seek); g_free (seek);
mp3parse->pending_accurate_seeks = 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, gst_event_parse_new_segment_full (event, &update, &rate, &applied_rate,
&format, &start, &stop, &pos); &format, &start, &stop, &pos);
GST_DEBUG_OBJECT (mp3parse, "Pushing newseg rate %g, applied rate %g, " GST_DEBUG_OBJECT (mp3parse, "Pushing newseg rate %g, applied rate %g, "
"format %d, start %lld, stop %lld, pos %lld", "format %d, start %" G_GINT64_FORMAT ", stop %" G_GINT64_FORMAT
rate, applied_rate, format, start, stop, pos); ", pos %" G_GINT64_FORMAT, rate, applied_rate, format, start, stop,
pos);
gst_segment_set_newsegment_full (&mp3parse->segment, update, rate, gst_segment_set_newsegment_full (&mp3parse->segment, update, rate,
applied_rate, format, start, stop, pos); applied_rate, format, start, stop, pos);
@ -663,8 +665,8 @@ gst_mp3parse_emit_frame (GstMPEGAudioParse * mp3parse, guint size,
if (diff < -thresh || diff > thresh) { if (diff < -thresh || diff > thresh) {
GST_DEBUG_OBJECT (mp3parse, "Updating next_ts from %" GST_TIME_FORMAT GST_DEBUG_OBJECT (mp3parse, "Updating next_ts from %" GST_TIME_FORMAT
" to pending ts %" GST_TIME_FORMAT " to pending ts %" GST_TIME_FORMAT
" at offset %lld (pending offset was %lld)", " at offset %" G_GINT64_FORMAT " (pending offset was %"
GST_TIME_ARGS (mp3parse->next_ts), G_GINT64_FORMAT ")", GST_TIME_ARGS (mp3parse->next_ts),
GST_TIME_ARGS (mp3parse->pending_ts), mp3parse->tracked_offset, GST_TIME_ARGS (mp3parse->pending_ts), mp3parse->tracked_offset,
mp3parse->pending_offset); mp3parse->pending_offset);
mp3parse->next_ts = mp3parse->pending_ts; mp3parse->next_ts = mp3parse->pending_ts;
@ -1512,7 +1514,7 @@ gst_mp3parse_chain (GstPad * pad, GstBuffer * buf)
mp3parse->next_ts = timestamp; mp3parse->next_ts = timestamp;
GST_LOG_OBJECT (mp3parse, "Have pending ts %" GST_TIME_FORMAT 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); GST_TIME_ARGS (mp3parse->pending_ts), avail, mp3parse->pending_offset);
} }