From 872879122019b6acace547ce475be2834069cf7a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 16 Jun 2002 21:56:49 +0000 Subject: [PATCH] Fix timestamps Original commit message from CVS: Fix timestamps --- gst/flx/gstflxdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 1bb5603..0b099cb 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -22,7 +22,7 @@ #include "flx_fmt.h" #include "gstflxdec.h" -#define JIFFIE (1000000/70) +#define JIFFIE (GST_SECOND/70) static GstCaps* flxdec_type_find(GstBuffer *buf, gpointer private); @@ -508,7 +508,7 @@ gst_flxdec_loop (GstElement *element) flxdec->frame_time = JIFFIE * flxh->speed; } else { - flxdec->frame_time = flxh->speed * 1000; + flxdec->frame_time = flxh->speed * GST_USECOND; } gst_pad_try_set_caps (flxdec->srcpad, -- 2.7.4