From 2bf798b11ebc1f4a4e04eea29828de9bd4fbceae Mon Sep 17 00:00:00 2001 From: Thijs Vermeir Date: Tue, 18 Dec 2012 15:55:43 +0100 Subject: [PATCH] taglib: use appropriate printf format for gsize --- ext/taglib/gstid3v2mux.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/taglib/gstid3v2mux.cc b/ext/taglib/gstid3v2mux.cc index 96875fb..c345142 100644 --- a/ext/taglib/gstid3v2mux.cc +++ b/ext/taglib/gstid3v2mux.cc @@ -386,7 +386,7 @@ add_id3v2frame_tag (ID3v2::Tag * id3v2tag, const GstTagList * list, GstMapInfo map; gst_buffer_map (buf, &map, GST_MAP_READ); - GST_DEBUG ("Injecting ID3v2.%u frame %u/%u of length %u and type %" + GST_DEBUG ("Injecting ID3v2.%u frame %u/%u of length %" G_GSIZE_FORMAT " and type %" GST_PTR_FORMAT, version, i, num_tags, map.size, s); frame = factory->createFrame (ByteVector ((const char *) map.data, @@ -437,7 +437,7 @@ add_image_tag (ID3v2::Tag * id3v2tag, const GstTagList * list, gst_buffer_map (image, &map, GST_MAP_READ); - GST_DEBUG ("Attaching picture of %u bytes and mime type %s", + GST_DEBUG ("Attaching picture of %" G_GSIZE_FORMAT " bytes and mime type %s", map.size, mime_type); id3v2tag->addFrame (frame); @@ -603,7 +603,7 @@ add_relative_volume_tag (ID3v2::Tag * id3v2tag, const GstTagList * list, frame->setIdentification ("album"); GST_DEBUG ("adding album relative-volume frame"); } - + /* find the value for the paired tag (gain, if this is peak, and * vice versa). if both tags exist, only write the frame when * we're processing the peak tag. -- 2.7.4