goto done;
}
- GST_DEBUG ("Sizes not equal (%d vs %d), doing slow line-by-line copying",
- cbuffer_info->size, gst_buffer_get_size (vbuffer));
+ GST_DEBUG ("Sizes not equal (%d vs %" G_GSIZE_FORMAT
+ "), doing slow line-by-line copying", cbuffer_info->size,
+ gst_buffer_get_size (vbuffer));
/* Different video format, try to convert */
switch (cinfo->color_format) {
buffer_fill_error:
{
GST_ELEMENT_ERROR (self, RESOURCE, WRITE, (NULL),
- ("Failed to write input into the amc buffer(write %dB to a %dB buffer)",
- self->color_format_info.frame_size, buf->size));
+ ("Failed to write input into the amc buffer(write %dB to a %"
+ G_GSIZE_FORMAT "B buffer)", self->color_format_info.frame_size,
+ buf->size));
gst_video_codec_frame_unref (frame);
return GST_FLOW_ERROR;
}