From 67495d15f88908d5debb8a764bb008ba44d8024d Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 17 Nov 2010 09:36:44 -0300 Subject: [PATCH] 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 --- gst/gst.defs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gst/gst.defs b/gst/gst.defs index d00c4f9..bd60104 100644 --- a/gst/gst.defs +++ b/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 -- 2.7.4