Commit 40bf004f authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠 Committed by Josep Torra
Browse files

omx: don't use the 'z' modifier to print size_t

gcc will warn in some cases even if the size of the type
is exactly that of size_t on the platform.

https://bugzilla.gnome.org/show_bug.cgi?id=699008

Conflicts:
	omx/gstomxvideodec.c
parent 2e676dda
......@@ -1634,7 +1634,7 @@ gst_omx_port_allocate_buffers_unlocked (GstOMXPort * port,
OMX_ErrorBadParameter);
GST_INFO_OBJECT (comp->parent,
"Allocating %d buffers of size %zu for %s port %u", n,
"Allocating %d buffers of size %" G_GSIZE_FORMAT " for %s port %u", n,
(size_t) port->port_def.nBufferSize, comp->name, (guint) port->index);
if (!port->buffers)
......
......@@ -2399,8 +2399,8 @@ too_large_codec_data:
{
gst_video_codec_frame_unref (frame);
GST_ELEMENT_ERROR (self, STREAM, FORMAT, (NULL),
("codec_data larger than supported by OpenMAX port (%zu > %zu)",
GST_BUFFER_SIZE (codec_data),
("codec_data larger than supported by OpenMAX port "
"(%" G_GSIZE_FORMAT " > %u)", GST_BUFFER_SIZE (codec_data),
(guint) self->dec_in_port->port_def.nBufferSize));
return GST_FLOW_ERROR;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment