summaryrefslogtreecommitdiffstats
path: root/gst/modplug
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-06-02 13:25:38 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-06-02 13:25:38 +0000
commit71bf0f124532818559a4f1ac438a1221237bb99c (patch)
treea391700d836caf0a9c7fb27ef60ea2e0a7ddc8de /gst/modplug
parent4ca1e486121e221e5abe6257f7b29e8025118496 (diff)
downloadgst-plugins-bad-71bf0f124532818559a4f1ac438a1221237bb99c.tar.gz
gst-plugins-bad-71bf0f124532818559a4f1ac438a1221237bb99c.tar.bz2
gst-plugins-bad-71bf0f124532818559a4f1ac438a1221237bb99c.zip
Make elements nanoseconds aware
Original commit message from CVS: Make elements nanoseconds aware
Diffstat (limited to 'gst/modplug')
-rw-r--r--gst/modplug/gstmodplug.cc2
1 files changed, 1 insertions, 1 deletions
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);