videodecoder: fix build error on i386
authorMatthew Waters <matthew@centricular.com>
Fri, 10 Mar 2017 07:22:27 +0000 (18:22 +1100)
committerMatthew Waters <matthew@centricular.com>
Fri, 10 Mar 2017 07:23:48 +0000 (18:23 +1100)
Use G_GUINT64_FORMAT for guint64 values.

Introduced by fcb63e77a9de42cfb50da03a4925b06704006be3

Found by Alexander Larsson

gstvideodecoder.c: In function 'gst_video_decoder_have_frame':
gstvideodecoder.c:3312:51: error: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'guint64 {aka long long unsigned int}' [-Werror=format=]

gst-libs/gst/video/gstvideodecoder.c

index b52ee1c..d4d0f55 100644 (file)
@@ -3309,7 +3309,7 @@ gst_video_decoder_have_frame (GstVideoDecoder * decoder)
   guint flags;
   GstFlowReturn ret = GST_FLOW_OK;
 
-  GST_LOG_OBJECT (decoder, "have_frame at offset %" G_GSIZE_FORMAT,
+  GST_LOG_OBJECT (decoder, "have_frame at offset %" G_GUINT64_FORMAT,
       priv->frame_offset);
 
   GST_VIDEO_DECODER_STREAM_LOCK (decoder);