videoparsers: fix format warnings

https://bugzilla.gnome.org/show_bug.cgi?id=662618
This commit is contained in:
Matej Knopp 2011-11-27 20:24:39 +01:00 committed by Tim-Philipp Müller
parent 025ce3e6ca
commit f949930621
2 changed files with 5 additions and 5 deletions

View file

@ -229,8 +229,8 @@ gst_dirac_parse_check_valid_frame (GstBaseParse * parse,
if (G_UNLIKELY (size < 13)) if (G_UNLIKELY (size < 13))
goto out; goto out;
GST_DEBUG ("%d: %02x %02x %02x %02x", size, data[0], data[1], data[2], GST_DEBUG ("%" G_GSIZE_FORMAT ": %02x %02x %02x %02x", size, data[0], data[1],
data[3]); data[2], data[3]);
if (GST_READ_UINT32_BE (data) != 0x42424344) { if (GST_READ_UINT32_BE (data) != 0x42424344) {
GstByteReader reader; GstByteReader reader;

View file

@ -680,8 +680,8 @@ gst_h264_parse_check_valid_frame (GstBaseParse * parse,
if (GST_BASE_PARSE_DRAINING (parse)) { if (GST_BASE_PARSE_DRAINING (parse)) {
drain = TRUE; drain = TRUE;
GST_DEBUG_OBJECT (h264parse, "draining NAL %u %u %u", size, GST_DEBUG_OBJECT (h264parse, "draining NAL %" G_GSIZE_FORMAT " %u %u",
h264parse->nalu.offset, h264parse->nalu.size); size, h264parse->nalu.offset, h264parse->nalu.size);
/* Can't parse the nalu */ /* Can't parse the nalu */
if (size - h264parse->nalu.offset < 2) { if (size - h264parse->nalu.offset < 2) {
*skipsize = nalu.offset; *skipsize = nalu.offset;
@ -1357,7 +1357,7 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
/* ERRORS */ /* ERRORS */
avcc_too_small: avcc_too_small:
{ {
GST_DEBUG_OBJECT (h264parse, "avcC size %u < 8", size); GST_DEBUG_OBJECT (h264parse, "avcC size %" G_GSIZE_FORMAT " < 8", size);
goto refuse_caps; goto refuse_caps;
} }
wrong_version: wrong_version: