diff options
author | Thijs Vermeir <thijsvermeir@gmail.com> | 2012-12-18 16:40:59 +0100 |
---|---|---|
committer | Thijs Vermeir <thijsvermeir@gmail.com> | 2012-12-18 16:40:59 +0100 |
commit | 67bbe5ebaf8721aafbe0738516ab3fded0ee1bc5 (patch) | |
tree | 8ee739c2c4f4db84f702996b6cbf098657f483fe /gst/jpegformat | |
parent | 775cf6ab3ea4b7656c6f7737a38242fa5f5e37cb (diff) | |
download | gstreamer-plugins-bad-67bbe5ebaf8721aafbe0738516ab3fded0ee1bc5.tar.gz |
jpeg: use appropriate printf format for gsize
Diffstat (limited to 'gst/jpegformat')
-rw-r--r-- | gst/jpegformat/gstjifmux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/jpegformat/gstjifmux.c b/gst/jpegformat/gstjifmux.c index 6a7639c6b..28638b733 100644 --- a/gst/jpegformat/gstjifmux.c +++ b/gst/jpegformat/gstjifmux.c @@ -281,7 +281,7 @@ gst_jif_mux_parse_image (GstJifMux * self, GstBuffer * buf) gst_buffer_map (buf, &map, GST_MAP_READ); gst_byte_reader_init (&reader, map.data, map.size); - GST_LOG_OBJECT (self, "Received buffer of size: %u", map.size); + GST_LOG_OBJECT (self, "Received buffer of size: %" G_GSIZE_FORMAT, map.size); if (!gst_byte_reader_peek_uint8 (&reader, &marker)) goto error; @@ -356,7 +356,7 @@ gst_jif_mux_parse_image (GstJifMux * self, GstBuffer * buf) goto error; } GST_INFO_OBJECT (self, "done parsing at 0x%x / 0x%x", - gst_byte_reader_get_pos (&reader), map.size); + gst_byte_reader_get_pos (&reader), (guint) map.size); done: self->priv->markers = g_list_reverse (self->priv->markers); @@ -661,7 +661,7 @@ gst_jif_mux_recombine_image (GstJifMux * self, GstBuffer ** new_buf, /* 0xff <marker> */ size += 2; } - GST_INFO_OBJECT (self, "old size: %u, new size: %u", + GST_INFO_OBJECT (self, "old size: %" G_GSIZE_FORMAT ", new size: %u", gst_buffer_get_size (old_buf), size); /* allocate new buffer */ |