mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
androidmedia: Fix debug statement (%d for a gsize argument)
This commit is contained in:
parent
4ab1e66b2e
commit
88cd44fbd8
2 changed files with 6 additions and 4 deletions
|
@ -2294,8 +2294,9 @@ gst_amc_color_format_copy (GstAmcColorFormatInfo * cinfo,
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_DEBUG ("Sizes not equal (%d vs %d), doing slow line-by-line copying",
|
GST_DEBUG ("Sizes not equal (%d vs %" G_GSIZE_FORMAT
|
||||||
cbuffer_info->size, gst_buffer_get_size (vbuffer));
|
"), doing slow line-by-line copying", cbuffer_info->size,
|
||||||
|
gst_buffer_get_size (vbuffer));
|
||||||
|
|
||||||
/* Different video format, try to convert */
|
/* Different video format, try to convert */
|
||||||
switch (cinfo->color_format) {
|
switch (cinfo->color_format) {
|
||||||
|
|
|
@ -1525,8 +1525,9 @@ failed_to_get_input_buffer:
|
||||||
buffer_fill_error:
|
buffer_fill_error:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (self, RESOURCE, WRITE, (NULL),
|
GST_ELEMENT_ERROR (self, RESOURCE, WRITE, (NULL),
|
||||||
("Failed to write input into the amc buffer(write %dB to a %dB buffer)",
|
("Failed to write input into the amc buffer(write %dB to a %"
|
||||||
self->color_format_info.frame_size, buf->size));
|
G_GSIZE_FORMAT "B buffer)", self->color_format_info.frame_size,
|
||||||
|
buf->size));
|
||||||
gst_video_codec_frame_unref (frame);
|
gst_video_codec_frame_unref (frame);
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue