summaryrefslogtreecommitdiff
path: root/gst/cutter
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-10-05 16:37:33 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-10-05 16:37:33 +0000
commit82f5a3508c4f7be17a2dd55b78acc8c9c5221665 (patch)
tree95fc8e66b0c7fec00982253fc5145e746df30b26 /gst/cutter
parenta4221727ded9a2501c8b1a96289e7b21130cd25d (diff)
Printf format fixes.
Original commit message from CVS: * ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_update_font_height): * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_transform_caps): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_parse_image_data): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_chain): * ext/jpeg/gstsmokedec.c: (gst_smokedec_chain): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain): * ext/libpng/gstpngdec.c: (user_endrow_callback): * gst/auparse/gstauparse.c: (gst_au_parse_parse_header): * gst/avi/gstavidemux.c: (gst_avi_demux_parse_superindex), (gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream), (gst_avi_demux_stream_data): * gst/cutter/gstcutter.c: (gst_cutter_chain): * gst/debug/efence.c: (gst_efence_buffer_alloc), (gst_fenced_buffer_copy): * gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame): * gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream): * gst/matroska/matroska-mux.c: (gst_matroska_mux_start): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send), (gst_rtspsrc_handle_message): * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers): * sys/ximage/ximageutil.c: (ximageutil_xcontext_get): Printf format fixes.
Diffstat (limited to 'gst/cutter')
-rw-r--r--gst/cutter/gstcutter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c
index fc75754f..cffa780f 100644
--- a/gst/cutter/gstcutter.c
+++ b/gst/cutter/gstcutter.c
@@ -260,8 +260,8 @@ gst_cutter_chain (GstPad * pad, GstBuffer * buf)
/* if RMS below threshold, add buffer length to silent run length count
* if not, reset
*/
- GST_LOG_OBJECT (filter, "buffer stats: NMS %f, RMS %f, audio length %f",
- NMS, RMS, gst_audio_duration_from_pad_buffer (filter->sinkpad, buf));
+ GST_LOG_OBJECT (filter, "buffer stats: NMS %f, RMS %f, audio length %f", NMS,
+ RMS, (gdouble) gst_audio_duration_from_pad_buffer (filter->sinkpad, buf));
if (RMS < filter->threshold_level)
filter->silent_run_length +=
gst_guint64_to_gdouble (gst_audio_duration_from_pad_buffer (filter->