mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
Fix timestamps
Original commit message from CVS: Fix timestamps
This commit is contained in:
parent
dac4644443
commit
27b946fca9
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
#include "flx_fmt.h"
|
#include "flx_fmt.h"
|
||||||
#include "gstflxdec.h"
|
#include "gstflxdec.h"
|
||||||
|
|
||||||
#define JIFFIE (1000000/70)
|
#define JIFFIE (GST_SECOND/70)
|
||||||
|
|
||||||
static GstCaps* flxdec_type_find(GstBuffer *buf, gpointer private);
|
static GstCaps* flxdec_type_find(GstBuffer *buf, gpointer private);
|
||||||
|
|
||||||
|
@ -508,7 +508,7 @@ gst_flxdec_loop (GstElement *element)
|
||||||
flxdec->frame_time = JIFFIE * flxh->speed;
|
flxdec->frame_time = JIFFIE * flxh->speed;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
flxdec->frame_time = flxh->speed * 1000;
|
flxdec->frame_time = flxh->speed * GST_USECOND;
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_pad_try_set_caps (flxdec->srcpad,
|
gst_pad_try_set_caps (flxdec->srcpad,
|
||||||
|
|
Loading…
Reference in a new issue