mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 14:18:34 +00:00
gst: updating datetime functions
Updating datetime _from_unix functions for the new 2 variants (utc/local) https://bugzilla.gnome.org/show_bug.cgi?id=635031
This commit is contained in:
parent
4af2afe2c6
commit
67495d15f8
1 changed files with 11 additions and 2 deletions
13
gst/gst.defs
13
gst/gst.defs
|
@ -1264,8 +1264,17 @@
|
|||
(return-type "gfloat")
|
||||
)
|
||||
|
||||
(define-function date_time_new_from_unix_epoch
|
||||
(c-name "gst_date_time_new_from_unix_epoch")
|
||||
(define-function date_time_new_from_unix_epoch_local_time
|
||||
(c-name "gst_date_time_new_from_unix_epoch_local_time")
|
||||
(return-type "GstDateTime*")
|
||||
(caller-owns-return #t)
|
||||
(parameters
|
||||
'("gint64" "secs")
|
||||
)
|
||||
)
|
||||
|
||||
(define-function date_time_new_from_unix_epoch_utc
|
||||
(c-name "gst_date_time_new_from_unix_epoch_utc")
|
||||
(return-type "GstDateTime*")
|
||||
(caller-owns-return #t)
|
||||
(parameters
|
||||
|
|
Loading…
Reference in a new issue