summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/libvisual/visual.c2
-rw-r--r--ext/vorbis/gstvorbisdec.c6
-rw-r--r--ext/vorbis/gstvorbisenc.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/ext/libvisual/visual.c b/ext/libvisual/visual.c
index c94e90101..6f6d65baf 100644
--- a/ext/libvisual/visual.c
+++ b/ext/libvisual/visual.c
@@ -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);
diff --git a/ext/vorbis/gstvorbisdec.c b/ext/vorbis/gstvorbisdec.c
index c46774843..45c840abb 100644
--- a/ext/vorbis/gstvorbisdec.c
+++ b/ext/vorbis/gstvorbisdec.c
@@ -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:
diff --git a/ext/vorbis/gstvorbisenc.c b/ext/vorbis/gstvorbisenc.c
index eae99a1ae..5a13ffd9e 100644
--- a/ext/vorbis/gstvorbisenc.c
+++ b/ext/vorbis/gstvorbisenc.c
@@ -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;
}