videoparsers: use appropriate printf format for gsize

This commit is contained in:
Thijs Vermeir 2012-12-18 16:52:26 +01:00
parent 35a5100bc3
commit 471ad809f6

View file

@ -903,8 +903,8 @@ gst_vc1_parse_handle_frame (GstBaseParse * parse, GstBaseParseFrame * frame,
g_assert (size >= 4);
memset (&bdu, 0, sizeof (bdu));
GST_DEBUG_OBJECT (vc1parse,
"Handling buffer of size %u at offset %" G_GUINT64_FORMAT, size,
GST_BUFFER_OFFSET (buffer));
"Handling buffer of size %" G_GSIZE_FORMAT " at offset %"
G_GUINT64_FORMAT, size, GST_BUFFER_OFFSET (buffer));
/* XXX: when a buffer contains multiple BDUs, does the first one start with
* a startcode?
*/
@ -1188,7 +1188,8 @@ gst_vc1_parse_handle_frame (GstBaseParse * parse, GstBaseParseFrame * frame,
gst_buffer_unmap (buffer, &minfo);
memset (&minfo, 0, sizeof (minfo));
GST_DEBUG_OBJECT (vc1parse, "Finishing frame of size %d", framesize);
GST_DEBUG_OBJECT (vc1parse, "Finishing frame of size %" G_GSIZE_FORMAT,
framesize);
ret = gst_base_parse_finish_frame (parse, frame, framesize);
done: