From 87fee9151bee6ec36bd1f273fbd156bc8a1fa1f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 3 Jun 2010 10:49:40 +0100 Subject: [PATCH] [MOVED FROM BAD 047/134] vp8enc: fix printf format warning in log message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gstvp8enc.c:564: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’ gstvp8enc.c:744: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’ --- ext/vp8/gstvp8enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index a3b2aeb04e..39d0df694a 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -561,7 +561,7 @@ gst_vp8_enc_finish (GstBaseVideoEncoder * base_video_encoder) GstVP8EncCoderHook *hook; gboolean invisible, keyframe; - GST_DEBUG_OBJECT (encoder, "packet %d type %d", pkt->data.frame.sz, + GST_DEBUG_OBJECT (encoder, "packet %u type %d", (guint) pkt->data.frame.sz, pkt->kind); if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) { @@ -741,7 +741,7 @@ gst_vp8_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder, GstBuffer *buffer; gboolean invisible; - GST_DEBUG_OBJECT (encoder, "packet %d type %d", pkt->data.frame.sz, + GST_DEBUG_OBJECT (encoder, "packet %u type %d", (guint) pkt->data.frame.sz, pkt->kind); if (pkt->kind != VPX_CODEC_CX_FRAME_PKT) {