diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-06-16 21:56:49 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-06-16 21:56:49 +0000 |
commit | 872879122019b6acace547ce475be2834069cf7a (patch) | |
tree | 5cedb97e8e174024db940788f3c8e3d7ea889970 | |
parent | de659d38cd1d688f8c0d09b2246e41ea38992084 (diff) | |
download | gst-plugins-bad-872879122019b6acace547ce475be2834069cf7a.tar.gz gst-plugins-bad-872879122019b6acace547ce475be2834069cf7a.tar.bz2 gst-plugins-bad-872879122019b6acace547ce475be2834069cf7a.zip |
Fix timestamps
Original commit message from CVS:
Fix timestamps
-rw-r--r-- | gst/flx/gstflxdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 1bb56035..0b099cbc 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, |