From 7b751b8976a7723f56c051235476eab4ea95daa6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 2 Jun 2002 13:25:39 +0000 Subject: [PATCH] Make elements nanoseconds aware Original commit message from CVS: Make elements nanoseconds aware --- gst/synaesthesia/gstsynaesthesia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/synaesthesia/gstsynaesthesia.c b/gst/synaesthesia/gstsynaesthesia.c index 9a0cf75..b1c941e 100644 --- a/gst/synaesthesia/gstsynaesthesia.c +++ b/gst/synaesthesia/gstsynaesthesia.c @@ -283,7 +283,7 @@ gst_synaesthesia_chain (GstPad *pad, GstBuffer *bufin) GST_BUFFER_TIMESTAMP (bufout) = synaesthesia->next_time; GST_BUFFER_FLAG_SET (bufout, GST_BUFFER_DONTFREE); - synaesthesia->next_time += 1000000LL / synaesthesia->fps; + synaesthesia->next_time += GST_SECOND / synaesthesia->fps; gst_pad_push (synaesthesia->srcpad, bufout); -- 2.7.4