if (G_UNLIKELY (in_size < 320)) {
gst_buffer_unmap (buffer, in_data, in_size);
- GST_DEBUG_OBJECT (amrnbenc, "discarding trailing data %d", in_size);
+ GST_DEBUG_OBJECT (amrnbenc, "discarding trailing data of %" G_GSIZE_FORMAT
+ " bytes", in_size);
return gst_audio_encoder_finish_frame (enc, NULL, -1);
}
in_data, out_data, 0);
gst_buffer_unmap (out, out_data, out_size);
- GST_LOG_OBJECT (amrnbenc, "output data size %d", out_size);
+ GST_LOG_OBJECT (amrnbenc, "output data size %" G_GSIZE_FORMAT, out_size);
if (out_size) {
ret = gst_audio_encoder_finish_frame (enc, out, 160);
if (s->format == sector_format) {
gint first, last;
gst_dvd_read_src_get_sector_bounds (src, &first, &last);
- GST_DEBUG_OBJECT (src, "Format is sector, seeking to %d", s->position);
+ GST_DEBUG_OBJECT (src, "Format is sector, seeking to %" G_GINT64_FORMAT,
+ s->position);
src->cur_pack = s->position;
if (src->cur_pack < first)
src->cur_pack = first;
}
gst_buffer_unmap (in_buf, data, size);
- GST_LOG_OBJECT (lame, "encoded %d bytes of audio to %d bytes of mp3",
- size, mp3_size);
+ GST_LOG_OBJECT (lame, "encoded %" G_GSIZE_FORMAT " bytes of audio "
+ "to %d bytes of mp3", size, mp3_size);
if (G_LIKELY (mp3_size > 0)) {
gst_buffer_unmap (mp3_buf, mp3_data, mp3_size);
num_samples / twolame->num_channels, mp3_data, mp3_buffer_size);
}
- GST_LOG_OBJECT (twolame, "encoded %d bytes of audio to %d bytes of mp3",
- size, mp3_size);
+ GST_LOG_OBJECT (twolame, "encoded %" G_GSIZE_FORMAT " bytes of audio "
+ "to %d bytes of mp3", size, mp3_size);
gst_buffer_unmap (buf, data, -1);
gst_buffer_unmap (mp3_buf, mp3_data, -1);