From 97041d869a33e464bc5ce93d0e932d0ef828f3d3 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Mon, 16 Apr 2007 22:20:03 +0000 Subject: ext/pango/gstclockoverlay.c: Fix unused variable warning if HAVE_LOCALTIME_R is undefinied Original commit message from CVS: Patch by: Vincent Torri * ext/pango/gstclockoverlay.c: (gst_clock_overlay_render_time): Fix unused variable warning if HAVE_LOCALTIME_R is undefinied * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): * gst/audioresample/gstaudioresample.c: (audioresample_do_output): Use the correct format strings for integer formats. --- gst/audioresample/gstaudioresample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 98f08d80..53257921 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -564,7 +564,7 @@ audioresample_do_output (GstAudioresample * audioresample, GstBuffer * outbuf) audioresample->need_discont = FALSE; } - GST_LOG_OBJECT (audioresample, "transformed to buffer of %ld bytes, ts %" + GST_LOG_OBJECT (audioresample, "transformed to buffer of %d bytes, ts %" GST_TIME_FORMAT ", duration %" GST_TIME_FORMAT ", offset %" G_GINT64_FORMAT ", offset_end %" G_GINT64_FORMAT, outsize, GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (outbuf)), -- cgit v1.2.1