summaryrefslogtreecommitdiff
path: root/sources/generated/Gst/Buffer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'sources/generated/Gst/Buffer.cs')
-rw-r--r--sources/generated/Gst/Buffer.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/sources/generated/Gst/Buffer.cs b/sources/generated/Gst/Buffer.cs
index 28732cb..01d37b5 100644
--- a/sources/generated/Gst/Buffer.cs
+++ b/sources/generated/Gst/Buffer.cs
@@ -589,6 +589,14 @@ namespace Gst {
}
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern IntPtr gst_buffer_new_wrapped_bytes(IntPtr bytes);
+
+ public Buffer (GLib.Bytes bytes)
+ {
+ Raw = gst_buffer_new_wrapped_bytes(bytes == null ? IntPtr.Zero : bytes.Handle);
+ }
+
+ [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr gst_buffer_new_wrapped_full(int flags, byte[] data, UIntPtr maxsize, UIntPtr offset, UIntPtr size, IntPtr user_data, GLib.DestroyNotify notify);
public Buffer (Gst.MemoryFlags flags, byte[] data, ulong maxsize, ulong offset, ulong size, IntPtr user_data, GLib.DestroyNotify notify)