Пример #1
0
        public Gst.Buffer CopyRegion(Gst.BufferCopyFlags flags, ulong offset, ulong size)
        {
            IntPtr raw_ret = gst_buffer_copy_region(Handle, (int)flags, new UIntPtr(offset), new UIntPtr(size));

            Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer)GLib.Opaque.GetOpaque(raw_ret, typeof(Gst.Buffer), true);
            return(ret);
        }
Пример #2
0
        public bool CopyInto(Gst.Buffer src, Gst.BufferCopyFlags flags, ulong offset, ulong size)
        {
            bool raw_ret = gst_buffer_copy_into(Handle, src == null ? IntPtr.Zero : src.Handle, (int)flags, new UIntPtr(offset), new UIntPtr(size));
            bool ret     = raw_ret;

            return(ret);
        }