png_get_IHDR (pngdec->png, pngdec->info, &width, &height,
&bpc, &pngdec->color_type, NULL, NULL, NULL);
- GST_LOG_OBJECT (pngdec, "this is a %dx%d PNG image", width, height);
+ GST_LOG_OBJECT (pngdec, "this is a %dx%d PNG image", (gint) width,
+ (gint) height);
switch (pngdec->color_type) {
case PNG_COLOR_TYPE_RGB:
GstFlowReturn ret = GST_FLOW_OK;
GST_LOG_OBJECT (pngdec, "Got buffer, size=%u",
- gst_buffer_get_size (frame->input_buffer));
+ (guint) gst_buffer_get_size (frame->input_buffer));
/* Let libpng come back here on error */
if (setjmp (png_jmpbuf (pngdec->png))) {
gst_buffer_map (g_ptr_array_index (rtph264depay->sps, i), &nalmap,
GST_MAP_READ);
- GST_DEBUG_OBJECT (rtph264depay, "copy SPS %d of length %d", i,
- nalmap.size);
+ GST_DEBUG_OBJECT (rtph264depay, "copy SPS %d of length %u", i,
+ (guint) nalmap.size);
GST_WRITE_UINT16_BE (data, nalmap.size);
data += 2;
memcpy (data, nalmap.data, nalmap.size);
gst_buffer_map (g_ptr_array_index (rtph264depay->pps, i), &nalmap,
GST_MAP_READ);
- GST_DEBUG_OBJECT (rtph264depay, "copy PPS %d of length %d", i,
- nalmap.size);
+ GST_DEBUG_OBJECT (rtph264depay, "copy PPS %d of length %u", i,
+ (guint) nalmap.size);
GST_WRITE_UINT16_BE (data, nalmap.size);
data += 2;
memcpy (data, nalmap.data, nalmap.size);
GST_BUFFER_TIMESTAMP (outbuf) = rtpmp2tpay->first_ts;
GST_BUFFER_DURATION (outbuf) = rtpmp2tpay->duration;
- GST_DEBUG_OBJECT (rtpmp2tpay, "pushing buffer of size %d",
- gst_buffer_get_size (outbuf));
+ GST_DEBUG_OBJECT (rtpmp2tpay, "pushing buffer of size %u",
+ (guint) gst_buffer_get_size (outbuf));
ret = gst_rtp_base_payload_push (GST_RTP_BASE_PAYLOAD (rtpmp2tpay), outbuf);
}