<attr path="/api/namespace/object[@name='Pad']/method[@cname='gst_pad_remove_data_probe']" name="hidden">1</attr>
<attr path="/api/namespace/object[@name='Pad']/method[@cname='gst_pad_remove_event_probe']" name="hidden">1</attr>
<attr path="/api/namespace/object[@name='Pad']/constructor[@cname='gst_pad_new_from_static_template']" name="hidden">1</attr>
- <!-- FIXME: https://bugzilla.novell.com/show_bug.cgi?id=498498 -->
- <attr path="/api/namespace/object[@name='Pad']/method[@cname='gst_pad_alloc_buffer']" name="hidden">1</attr>
- <attr path="/api/namespace/object[@name='Pad']/method[@cname='gst_pad_alloc_buffer_and_set_caps']" name="hidden">1</attr>
<attr path="/api/namespace/object[@name='Pad']/method[@cname='gst_pad_pull_range']" name="hidden">1</attr>
<attr path="/api/namespace/object[@name='Pad']/method[@cname='gst_pad_alloc_buffer']/parameters/parameter[@name='buf']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@name='Pad']/method[@cname='gst_pad_alloc_buffer']/parameters/parameter[@name='buf']" name="owned">true</attr>
}
[DllImport("libgstreamer-0.10.dll") ]
-static extern int gst_pad_alloc_buffer (IntPtr raw, ulong offset, int size, IntPtr caps, out IntPtr buf);
-
-public Gst.FlowReturn AllocBuffer (ulong offset, int size, Gst.Caps caps, out Gst.Buffer buf) {
- IntPtr native_buf;
- int raw_ret = gst_pad_alloc_buffer (Handle, offset, size, caps == null ? IntPtr.Zero : caps.Handle, out native_buf);
- Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
- buf = native_buf == IntPtr.Zero ? null : (Gst.Buffer) Gst.MiniObject.GetObject (native_buf, true);
- return ret;
-}
-
-[DllImport("libgstreamer-0.10.dll") ]
-static extern int gst_pad_alloc_buffer_and_set_caps (IntPtr raw, ulong offset, int size, IntPtr caps, out IntPtr buf);
-
-public Gst.FlowReturn AllocBufferAndSetCaps (ulong offset, int size, Gst.Caps caps, out Gst.Buffer buf) {
- IntPtr native_buf;
- int raw_ret = gst_pad_alloc_buffer_and_set_caps (Handle, offset, size, caps == null ? IntPtr.Zero : caps.Handle, out native_buf);
- Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
- buf = native_buf == IntPtr.Zero ? null : (Gst.Buffer) Gst.MiniObject.GetObject (native_buf, true);
- return ret;
-}
-
-[DllImport("libgstreamer-0.10.dll") ]
static extern void gst_pad_set_bufferalloc_function (IntPtr raw, GstSharp.PadBufferAllocFunctionNative bufalloc);
public Gst.PadBufferAllocFunction BufferAllocFunction {