mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
videoparsers: fix format warnings
https://bugzilla.gnome.org/show_bug.cgi?id=662618
This commit is contained in:
parent
025ce3e6ca
commit
f949930621
2 changed files with 5 additions and 5 deletions
|
@ -229,8 +229,8 @@ gst_dirac_parse_check_valid_frame (GstBaseParse * parse,
|
|||
if (G_UNLIKELY (size < 13))
|
||||
goto out;
|
||||
|
||||
GST_DEBUG ("%d: %02x %02x %02x %02x", size, data[0], data[1], data[2],
|
||||
data[3]);
|
||||
GST_DEBUG ("%" G_GSIZE_FORMAT ": %02x %02x %02x %02x", size, data[0], data[1],
|
||||
data[2], data[3]);
|
||||
|
||||
if (GST_READ_UINT32_BE (data) != 0x42424344) {
|
||||
GstByteReader reader;
|
||||
|
|
|
@ -680,8 +680,8 @@ gst_h264_parse_check_valid_frame (GstBaseParse * parse,
|
|||
|
||||
if (GST_BASE_PARSE_DRAINING (parse)) {
|
||||
drain = TRUE;
|
||||
GST_DEBUG_OBJECT (h264parse, "draining NAL %u %u %u", size,
|
||||
h264parse->nalu.offset, h264parse->nalu.size);
|
||||
GST_DEBUG_OBJECT (h264parse, "draining NAL %" G_GSIZE_FORMAT " %u %u",
|
||||
size, h264parse->nalu.offset, h264parse->nalu.size);
|
||||
/* Can't parse the nalu */
|
||||
if (size - h264parse->nalu.offset < 2) {
|
||||
*skipsize = nalu.offset;
|
||||
|
@ -1357,7 +1357,7 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
|
|||
/* ERRORS */
|
||||
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;
|
||||
}
|
||||
wrong_version:
|
||||
|
|
Loading…
Reference in a new issue