From f4ec523b0ae0f01cf0849341f35755ed860763da Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Sun, 29 May 2011 13:03:38 +0200 Subject: [PATCH] mpeg4videoparse: fix compiler warnings --- gst/mpeg4videoparse/mpeg4videoparse.c | 6 ++++-- gst/videoparsers/gstmpegvideoparse.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gst/mpeg4videoparse/mpeg4videoparse.c b/gst/mpeg4videoparse/mpeg4videoparse.c index 1343a52ffe..3040b61ab6 100644 --- a/gst/mpeg4videoparse/mpeg4videoparse.c +++ b/gst/mpeg4videoparse/mpeg4videoparse.c @@ -231,11 +231,13 @@ gst_mpeg4vparse_process_config (GstMpeg4VParse * mp4vparse, const guint8 * data, return TRUE; if (!gst_mpeg4_params_parse_config (&mp4vparse->params, data, size)) { - GST_DEBUG_OBJECT (mp4vparse, "failed to parse config data (size %d)", size); + GST_DEBUG_OBJECT (mp4vparse, "failed to parse config data (size %" + G_GSSIZE_FORMAT ")", size); return FALSE; } - GST_LOG_OBJECT (mp4vparse, "accepting parsed config size %d", size); + GST_LOG_OBJECT (mp4vparse, "accepting parsed config size %" G_GSSIZE_FORMAT, + size); /* parsing ok, so accept it as new config */ if (mp4vparse->config != NULL) diff --git a/gst/videoparsers/gstmpegvideoparse.c b/gst/videoparsers/gstmpegvideoparse.c index 9136cd4ae1..24ce3deb68 100644 --- a/gst/videoparsers/gstmpegvideoparse.c +++ b/gst/videoparsers/gstmpegvideoparse.c @@ -226,11 +226,13 @@ gst_mpegv_parse_process_config (GstMpegvParse * mpvparse, const guint8 * data, return TRUE; if (!gst_mpeg_video_params_parse_config (&mpvparse->params, data, size)) { - GST_DEBUG_OBJECT (mpvparse, "failed to parse config data (size %d)", size); + GST_DEBUG_OBJECT (mpvparse, "failed to parse config data (size %" + G_GSSIZE_FORMAT ")", size); return FALSE; } - GST_LOG_OBJECT (mpvparse, "accepting parsed config size %d", size); + GST_LOG_OBJECT (mpvparse, "accepting parsed config size %" G_GSSIZE_FORMAT, + size); /* parsing ok, so accept it as new config */ if (mpvparse->config != NULL)