mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
kate: fix time conversion from DVD style timestamps.
This commit is contained in:
parent
86af4924cc
commit
65b873df34
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
#define GST_KATE_UINT16_BE(ptr) ( ( ((guint16)((ptr)[0])) <<8) | ((ptr)[1]) )
|
#define GST_KATE_UINT16_BE(ptr) ( ( ((guint16)((ptr)[0])) <<8) | ((ptr)[1]) )
|
||||||
|
|
||||||
/* taken off the DVD SPU decoder - now is time for today's WTF ???? */
|
/* taken off the DVD SPU decoder - now is time for today's WTF ???? */
|
||||||
#define GST_KATE_STM_TO_GST(stm) ((1024 * (stm)) / 90000)
|
#define GST_KATE_STM_TO_GST(stm) ((GST_MSECOND * 1024 * (stm)) / 90)
|
||||||
#define GST_KATE_GST_TO_STM(gst) ((int)(((gst) * 90000 ) / 1024))
|
#define GST_KATE_GST_TO_STM(gst) ((int)(((gst) * 90000 ) / 1024))
|
||||||
|
|
||||||
#define GST_KATE_SPU_MIME_TYPE "video/x-dvd-subpicture"
|
#define GST_KATE_SPU_MIME_TYPE "video/x-dvd-subpicture"
|
||||||
|
|
Loading…
Reference in a new issue