summaryrefslogtreecommitdiffstats
path: root/gst/cutter
diff options
context:
space:
mode:
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->