diff --git a/ext/celt/gstceltenc.c b/ext/celt/gstceltenc.c index d0c7f80c1a..2dc0528185 100644 --- a/ext/celt/gstceltenc.c +++ b/ext/celt/gstceltenc.c @@ -614,8 +614,8 @@ gst_celt_enc_handle_frame (GstAudioEncoder * benc, GstBuffer * buf) enc->header_sent = TRUE; } - GST_DEBUG_OBJECT (enc, "received buffer %p of %u bytes", buf, - buf ? gst_buffer_get_size (buf) : 0); + GST_DEBUG_OBJECT (enc, "received buffer %p of %" G_GSIZE_FORMAT " bytes", + buf, buf ? gst_buffer_get_size (buf) : 0); ret = gst_celt_enc_encode (enc, buf); diff --git a/ext/opencv/gsttemplatematch.c b/ext/opencv/gsttemplatematch.c index 65f8dbeae8..58a5e8aa7b 100644 --- a/ext/opencv/gsttemplatematch.c +++ b/ext/opencv/gsttemplatematch.c @@ -319,7 +319,7 @@ gst_template_match_chain (GstPad * pad, GstObject * parent, GstBuffer * buf) if ((!filter) || (!buf) || filter->template == NULL) { return GST_FLOW_OK; } - GST_DEBUG_OBJECT (filter, "Buffer size %u ", gst_buffer_get_size (buf)); + GST_LOG_OBJECT (filter, "Buffer size %u", (guint) gst_buffer_get_size (buf)); buf = gst_buffer_make_writable (buf); gst_buffer_map (buf, &info, GST_MAP_READWRITE); diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index 5847d74c31..bfe680260a 100644 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -481,7 +481,7 @@ gst_wayland_sink_render (GstBaseSink * bsink, GstBuffer * buffer) GstBuffer *to_render; GstWlMeta *meta; - GST_LOG_OBJECT (sink, "render buffer %p" GST_TIME_FORMAT, buffer); + GST_LOG_OBJECT (sink, "render buffer %p", buffer); if (!sink->window) create_window (sink, sink->display, sink->video_width, sink->video_height); diff --git a/gst/dvbsuboverlay/dvb-sub.c b/gst/dvbsuboverlay/dvb-sub.c index a1326b4ec6..465ffecacb 100644 --- a/gst/dvbsuboverlay/dvb-sub.c +++ b/gst/dvbsuboverlay/dvb-sub.c @@ -1195,7 +1195,7 @@ _dvb_sub_parse_end_of_display_set (DvbSub * dvb_sub, guint16 page_id, guint32 *clut_table; int i; - GST_DEBUG ("DISPLAY SET END: page_id = %u, length = %d", page_id); + GST_DEBUG ("DISPLAY SET END: page_id = %u", page_id); sub = g_slice_new0 (DVBSubtitles); diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index faced1f873..08adf8c3dd 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -261,7 +261,7 @@ gst_festival_chain (GstPad * pad, GstObject * parent, GstBuffer * buf) festival = GST_FESTIVAL (parent); - GST_LOG_OBJECT (festival, "Got text buffer, %u bytes", + GST_LOG_OBJECT (festival, "Got text buffer, %" G_GSIZE_FORMAT " bytes", gst_buffer_get_size (buf)); f = dup (festival->info->server_fd); diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index 68ba065e74..f5efc92087 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -1126,7 +1126,7 @@ gst_hls_demux_switch_playlist (GstHLSDemux * demux) bitrate = (size * 8) / ((double) diff / GST_SECOND); GST_DEBUG ("Downloaded %d bytes in %" GST_TIME_FORMAT ". Bitrate is : %d", - size, GST_TIME_ARGS (diff), bitrate); + (guint) size, GST_TIME_ARGS (diff), bitrate); gst_buffer_unref (buffer); return gst_hls_demux_change_playlist (demux, bitrate * demux->bitrate_limit);