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, 3 insertions, 1 deletions
diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c
index cffa780f..9170b331 100644
--- a/gst/cutter/gstcutter.c
+++ b/gst/cutter/gstcutter.c
@@ -261,7 +261,9 @@ gst_cutter_chain (GstPad * pad, GstBuffer * buf)
* if not, reset
*/
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));
+ RMS,
+ gst_guint64_to_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->