mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
vorbis: fixes warings in macosx snow leopard
This commit is contained in:
parent
13ab7e7929
commit
ade53fb42f
2 changed files with 8 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue