diff --git a/ext/libav/gstavauddec.c b/ext/libav/gstavauddec.c index b837bbee0e..0b83e458be 100644 --- a/ext/libav/gstavauddec.c +++ b/ext/libav/gstavauddec.c @@ -679,8 +679,8 @@ gst_ffmpegauddec_handle_frame (GstAudioDecoder * decoder, GstBuffer * inbuf) oclass = (GstFFMpegAudDecClass *) (G_OBJECT_GET_CLASS (ffmpegdec)); GST_LOG_OBJECT (ffmpegdec, - "Received new data of size %u, offset:%" G_GUINT64_FORMAT ", ts:%" - GST_TIME_FORMAT ", dur:%" GST_TIME_FORMAT, + "Received new data of size %" G_GSIZE_FORMAT ", offset:%" G_GUINT64_FORMAT + ", ts:%" GST_TIME_FORMAT ", dur:%" GST_TIME_FORMAT, gst_buffer_get_size (inbuf), GST_BUFFER_OFFSET (inbuf), GST_TIME_ARGS (GST_BUFFER_PTS (inbuf)), GST_TIME_ARGS (GST_BUFFER_DURATION (inbuf))); diff --git a/ext/libav/gstavviddec.c b/ext/libav/gstavviddec.c index 9555fa7c6e..ce8d63e224 100644 --- a/ext/libav/gstavviddec.c +++ b/ext/libav/gstavviddec.c @@ -1283,10 +1283,9 @@ gst_ffmpegviddec_handle_frame (GstVideoDecoder * decoder, gboolean do_padding; GST_LOG_OBJECT (ffmpegdec, - "Received new data of size %u, dts %" GST_TIME_FORMAT ", pts:%" - GST_TIME_FORMAT ", dur:%" GST_TIME_FORMAT, - gst_buffer_get_size (frame->input_buffer), - GST_TIME_ARGS (frame->dts), + "Received new data of size %" G_GSIZE_FORMAT ", dts %" GST_TIME_FORMAT + ", pts:%" GST_TIME_FORMAT ", dur:%" GST_TIME_FORMAT, + gst_buffer_get_size (frame->input_buffer), GST_TIME_ARGS (frame->dts), GST_TIME_ARGS (frame->pts), GST_TIME_ARGS (frame->duration)); if (!gst_buffer_map (frame->input_buffer, &minfo, GST_MAP_READ)) {