gst/gst.defs: Wrapped last pre-0.10 API update (I hope...)

Original commit message from CVS:
* gst/gst.defs: (alloc_buffer_and_set_caps):
Wrapped last pre-0.10 API update (I hope...)
* examples/gstfile.py: (Discoverer._new_decoded_pad_cb):
Fix for fractional framerates.
This commit is contained in:
Edward Hervey 2005-12-05 13:10:59 +00:00
parent f5f90c4be7
commit b3e564eff5
2 changed files with 15 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2005-12-05 Edward Hervey <edward@fluendo.com>
* gst/gst.defs: (alloc_buffer_and_set_caps):
Wrapped last pre-0.10 API update (I hope...)
* examples/gstfile.py: (Discoverer._new_decoded_pad_cb):
Fix for fractional framerates.

View file

@ -3360,6 +3360,18 @@
)
)
(define-method alloc_buffer_and_set_caps
(of-object "GstPad")
(c-name "gst_pad_alloc_buffer_and_set_caps")
(return-type "GstFlowReturn")
(parameters
'("guint64" "offset")
'("gint" "size")
'("GstCaps*" "caps")
'("GstBuffer**" "buf")
)
)
(define-method set_activate_function
(of-object "GstPad")
(c-name "gst_pad_set_activate_function")