mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Fix some more printf format warnings
This commit is contained in:
parent
817f39608c
commit
e8fb8cb523
3 changed files with 5 additions and 5 deletions
|
@ -707,7 +707,7 @@ gst_visual_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
|||
channels = GST_AUDIO_INFO_CHANNELS (&visual->info);
|
||||
|
||||
GST_DEBUG_OBJECT (visual,
|
||||
"Input buffer has %d samples, time=%" G_GUINT64_FORMAT,
|
||||
"Input buffer has %" G_GSIZE_FORMAT " samples, time=%" G_GUINT64_FORMAT,
|
||||
gst_buffer_get_size (buffer) / bpf, GST_BUFFER_TIMESTAMP (buffer));
|
||||
|
||||
gst_adapter_push (visual->adapter, buffer);
|
||||
|
|
|
@ -561,8 +561,8 @@ vorbis_handle_data_packet (GstVorbisDec * vd, ogg_packet * packet,
|
|||
#endif
|
||||
|
||||
size = sample_count * vd->info.bpf;
|
||||
GST_LOG_OBJECT (vd, "%d samples ready for reading, size %d", sample_count,
|
||||
size);
|
||||
GST_LOG_OBJECT (vd, "%d samples ready for reading, size %" G_GSIZE_FORMAT,
|
||||
sample_count, size);
|
||||
|
||||
/* alloc buffer for it */
|
||||
out = gst_buffer_new_allocate (NULL, size, 0);
|
||||
|
@ -583,7 +583,7 @@ vorbis_handle_data_packet (GstVorbisDec * vd, ogg_packet * packet,
|
|||
sample_count, vd->info.channels);
|
||||
#endif
|
||||
|
||||
GST_LOG_OBJECT (vd, "setting output size to %d", size);
|
||||
GST_LOG_OBJECT (vd, "setting output size to %" G_GSIZE_FORMAT, size);
|
||||
gst_buffer_unmap (out, data, size);
|
||||
|
||||
done:
|
||||
|
|
|
@ -579,7 +579,7 @@ gst_vorbis_enc_buffer_from_header_packet (GstVorbisEnc * vorbisenc,
|
|||
GST_BUFFER_TIMESTAMP (outbuf) = GST_CLOCK_TIME_NONE;
|
||||
GST_BUFFER_DURATION (outbuf) = GST_CLOCK_TIME_NONE;
|
||||
|
||||
GST_DEBUG ("created header packet buffer, %d bytes",
|
||||
GST_DEBUG ("created header packet buffer, %" G_GSIZE_FORMAT " bytes",
|
||||
gst_buffer_get_size (outbuf));
|
||||
return outbuf;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue