Fix compiler warnings

This commit is contained in:
Matej Knopp 2012-01-26 06:58:46 -05:00 committed by Wim Taymans
parent a9f5def9d1
commit e4e0d3ce02
3 changed files with 5 additions and 3 deletions

View file

@ -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);

View file

@ -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;

View file

@ -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));