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")