From 71bf0f124532818559a4f1ac438a1221237bb99c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 2 Jun 2002 13:25:38 +0000 Subject: Make elements nanoseconds aware Original commit message from CVS: Make elements nanoseconds aware --- gst/modplug/gstmodplug.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/modplug') diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index d21a55bb..fe0b31f8 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -362,7 +362,7 @@ gst_modplug_loop (GstElement *element) GST_BUFFER_SIZE( buffer_out ) = modplug->length; total_samples+=1152; - GST_BUFFER_TIMESTAMP( buffer_out ) = total_samples * 1000000LL / modplug->frequency; + GST_BUFFER_TIMESTAMP( buffer_out ) = total_samples * GST_SECOND / modplug->frequency; gst_pad_push( srcpad, buffer_out ); gst_element_yield (element); -- cgit v1.2.1