video: Fix printf format warnings on mingw-w64

https://bugzilla.gnome.org/show_bug.cgi?id=676442
This commit is contained in:
Raimo Järvi 2012-05-20 23:27:42 +03:00 committed by Wim Taymans
parent 6c2aea9551
commit d42a197c04
2 changed files with 2 additions and 2 deletions

View file

@ -1771,7 +1771,7 @@ gst_video_decoder_prepare_finish_frame (GstVideoDecoder *
GList *l, *events = NULL;
#ifndef GST_DISABLE_GST_DEBUG
GST_LOG_OBJECT (decoder, "n %d in %d out %d",
GST_LOG_OBJECT (decoder, "n %d in %" G_GSIZE_FORMAT " out %" G_GSIZE_FORMAT,
g_list_length (priv->frames),
gst_adapter_available (priv->input_adapter),
gst_adapter_available (priv->output_adapter));

View file

@ -1116,7 +1116,7 @@ gst_video_encoder_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
stop = start + GST_BUFFER_DURATION (buf);
GST_LOG_OBJECT (encoder,
"received buffer of size %d with ts %" GST_TIME_FORMAT
"received buffer of size %" G_GSIZE_FORMAT " with ts %" GST_TIME_FORMAT
", duration %" GST_TIME_FORMAT, gst_buffer_get_size (buf),
GST_TIME_ARGS (start), GST_TIME_ARGS (GST_BUFFER_DURATION (buf)));