gst/: API updates

Original commit message from CVS:
* gst/gst-types.defs:
* gst/gst.defs:
API updates
This commit is contained in:
Edward Hervey 2005-11-23 09:53:52 +00:00
parent 96256ac65c
commit 714df8342a
3 changed files with 32 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2005-11-22 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs:
* gst/gst.defs:
API updates
2005-11-22 Edward Hervey <edward@fluendo.com>
* gst/pygstvalue.c: (pygst_value_as_pyobject),

View file

@ -375,6 +375,7 @@
'("can-do-periodic-sync" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC")
'("can-do-periodic-async" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC")
'("can-set-resolution" "GST_CLOCK_FLAG_CAN_SET_RESOLUTION")
'("can-set-master" "GST_CLOCK_FLAG_CAN_SET_MASTER")
'("last" "GST_CLOCK_FLAG_LAST")
)
)

View file

@ -744,7 +744,7 @@
(define-method set_master
(of-object "GstClock")
(c-name "gst_clock_set_master")
(return-type "none")
(return-type "gboolean")
(parameters
'("GstClock*" "master")
)
@ -756,6 +756,17 @@
(return-type "GstClock*")
)
(define-method add_observation
(of-object "GstClock")
(c-name "gst_clock_add_observation")
(return-type "gboolean")
(parameters
'("GstClockTime" "slave")
'("GstClockTime" "master")
'("gdouble*" "r_squared")
)
)
(define-method get_internal_time
(of-object "GstClock")
(c-name "gst_clock_get_internal_time")
@ -949,7 +960,7 @@
(define-method set_clock
(of-object "GstElement")
(c-name "gst_element_set_clock")
(return-type "none")
(return-type "gboolean")
(parameters
'("GstClock*" "clock")
)
@ -1284,7 +1295,7 @@
(define-virtual set_clock
(of-object "GstElement")
(return-type "none")
(return-type "gboolean")
(parameters
'("GstClock*" "clock")
)
@ -3932,7 +3943,7 @@
(define-method set_clock
(of-object "GstPipeline")
(c-name "gst_pipeline_set_clock")
(return-type "none")
(return-type "gboolean")
(parameters
'("GstClock*" "clock")
)
@ -6058,6 +6069,16 @@
)
)
(define-function util_clock_time_scale
(c-name "gst_util_clock_time_scale")
(return-type "GstClockTime")
(parameters
'("GstClockTime" "val")
'("gint" "num")
'("gint" "denom")
)
)
(define-function print_pad_caps
(c-name "gst_print_pad_caps")
(return-type "none")