gst/gst.defs: Wrapped last pre-0.10 API update (I hope...)
authorEdward Hervey <bilboed@bilboed.com>
Mon, 5 Dec 2005 13:10:59 +0000 (13:10 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 5 Dec 2005 13:10:59 +0000 (13:10 +0000)
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
gst/gst.defs

index 0988dc1..694467e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index 9cb5344..8d02798 100644 (file)
   )
 )
 
+(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")