vorbis: fixes warings in macosx snow leopard

This commit is contained in:
Josep Torra 2009-10-09 22:00:45 +02:00
parent 13ab7e7929
commit ade53fb42f
2 changed files with 8 additions and 4 deletions

View file

@ -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);

View file

@ -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);
}