From b3e564eff577e2f577d795051bbcca85d47c89dc Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 5 Dec 2005 13:10:59 +0000 Subject: [PATCH] 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. --- ChangeLog | 3 +++ gst/gst.defs | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0988dc15a4..694467e13b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-12-05 Edward Hervey + * 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. diff --git a/gst/gst.defs b/gst/gst.defs index 9cb53441d3..8d027981c5 100644 --- a/gst/gst.defs +++ b/gst/gst.defs @@ -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")