summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatej Knopp <matej.knopp@gmail.com>2012-01-26 06:58:46 -0500
committerWim Taymans <wim.taymans@collabora.co.uk>2012-02-20 16:20:55 +0100
commite4e0d3ce02c5e9a6c79d4826fc52e743e0221fba (patch)
treee42f5f9eb415b8226ed09ab9c6993e465ec2eb28
parenta9f5def9d11c9a6623d7ed9d365160a4d8076b17 (diff)
downloadgstreamer-plugins-bad-e4e0d3ce02c5e9a6c79d4826fc52e743e0221fba.tar.gz
Fix compiler warnings
-rw-r--r--ext/voaacenc/gstvoaacenc.c3
-rw-r--r--gst/dtmf/gstdtmfsrc.c2
-rw-r--r--gst/rtpmux/gstrtpmux.c3
3 files changed, 5 insertions, 3 deletions
diff --git a/ext/voaacenc/gstvoaacenc.c b/ext/voaacenc/gstvoaacenc.c
index dd4b7ed9e..8ae31a0fe 100644
--- a/ext/voaacenc/gstvoaacenc.c
+++ b/ext/voaacenc/gstvoaacenc.c
@@ -490,7 +490,8 @@ gst_voaacenc_handle_frame (GstAudioEncoder * benc, GstBuffer * buf)
goto encode_failed;
}
- GST_LOG_OBJECT (voaacenc, "encoded to %d bytes", output.Length);
+ GST_LOG_OBJECT (voaacenc, "encoded to %" G_GSIZE_FORMAT " bytes",
+ output.Length);
gst_buffer_unmap (buf, &map);
gst_buffer_unmap (out, &omap);
gst_buffer_resize (out, 0, output.Length);
diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c
index 9e3ea47a1..e5a8eef58 100644
--- a/gst/dtmf/gstdtmfsrc.c
+++ b/gst/dtmf/gstdtmfsrc.c
@@ -780,7 +780,7 @@ gst_dtmf_src_create (GstBaseSrc * basesrc, guint64 offset,
buf = gst_dtmf_src_create_next_tone_packet (dtmfsrc, dtmfsrc->last_event);
- GST_LOG_OBJECT (dtmfsrc, "Created buffer of size %d",
+ GST_LOG_OBJECT (dtmfsrc, "Created buffer of size %" G_GSIZE_FORMAT,
gst_buffer_get_size (buf));
*buffer = buf;
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index 253f463fd..de09fd488 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -355,7 +355,8 @@ process_buffer_locked (GstRTPMux * rtp_mux, GstRTPMuxPadPrivate * padpriv,
gst_rtp_buffer_set_ssrc (rtpbuffer, rtp_mux->current_ssrc);
gst_rtp_mux_readjust_rtp_timestamp_locked (rtp_mux, padpriv, rtpbuffer);
- GST_LOG_OBJECT (rtp_mux, "Pushing packet size %d, seq=%d, ts=%u",
+ GST_LOG_OBJECT (rtp_mux,
+ "Pushing packet size %" G_GSIZE_FORMAT ", seq=%d, ts=%u",
rtpbuffer->map.size, rtp_mux->seqnum,
gst_rtp_buffer_get_timestamp (rtpbuffer));