mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
MiniObject: Add MakeWritable binding
This commit is contained in:
parent
68ae950ff7
commit
ffbcc07388
1 changed files with 9 additions and 0 deletions
|
@ -41,5 +41,14 @@ namespace Gst {
|
|||
public static bool Take(ref Gst.MiniObject olddata, Gst.MiniObject newdata) {
|
||||
return gst_mini_object_take(olddata.Handle, newdata == null ? IntPtr.Zero : newdata.Handle);
|
||||
}
|
||||
|
||||
[DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
static extern IntPtr gst_mini_object_make_writable(IntPtr mini_object);
|
||||
|
||||
public void MakeWritable() {
|
||||
Console.WriteLine (Handle);
|
||||
Raw = gst_mini_object_make_writable (Raw);
|
||||
Console.WriteLine (Handle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue