diff --git a/ChangeLog b/ChangeLog index e849392870..b3c155aa56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-23 Edward Hervey + + * gst/gst-types.defs: + * gst/gst.defs: + And more API updated, pom po do pom pom pom.... + 2005-11-23 Edward Hervey * gst/interfaces.defs: diff --git a/gst/gst-types.defs b/gst/gst-types.defs index ccd3935564..8ee9793451 100644 --- a/gst/gst-types.defs +++ b/gst/gst-types.defs @@ -409,6 +409,7 @@ '("caps" "GST_CORE_ERROR_CAPS") '("tag" "GST_CORE_ERROR_TAG") '("missing-plugin" "GST_CORE_ERROR_MISSING_PLUGIN") + '("clock" "GST_CORE_ERROR_CLOCK") '("num-errors" "GST_CORE_ERROR_NUM_ERRORS") ) ) diff --git a/gst/gst.defs b/gst/gst.defs index 8565bd792b..5ef4c7bd18 100644 --- a/gst/gst.defs +++ b/gst/gst.defs @@ -726,7 +726,8 @@ (parameters '("GstClockTime" "internal") '("GstClockTime" "external") - '("gdouble" "rate") + '("GstClockTime" "rate_num") + '("GstClockTime" "rate_denom") ) ) @@ -737,7 +738,8 @@ (parameters '("GstClockTime*" "internal") '("GstClockTime*" "external") - '("gdouble*" "rate") + '("GstClockTime*" "rate_num") + '("GstClockTime*" "rate_denom") ) ) @@ -5017,6 +5019,17 @@ ) ) +(define-method get_fraction + (of-object "GstStructure") + (c-name "gst_structure_get_fraction") + (return-type "gboolean") + (parameters + '("const-gchar*" "fieldname") + '("gint*" "value_numerator") + '("gint*" "value_denominator") + ) +) + (define-method to_string (of-object "GstStructure") (c-name "gst_structure_to_string") @@ -5069,7 +5082,8 @@ (return-type "gboolean") (parameters '("const-char*" "field_name") - '("const-GValue*" "target") + '("const-gint" "target_numerator") + '("const-gint" "target_denominator") ) ) @@ -6069,11 +6083,11 @@ ) ) -(define-function util_clock_time_scale - (c-name "gst_util_clock_time_scale") - (return-type "GstClockTime") +(define-function gst_util_uint64_scale_int + (c-name "gst_util_uint64_scale_int") + (return-type "guint64") (parameters - '("GstClockTime" "val") + '("guint64" "val") '("gint" "num") '("gint" "denom") )