コード例 #1
0
        public void ParseNthAllocationPool(uint index, out Gst.BufferPool pool, out uint size, out uint min_buffers, out uint max_buffers)
        {
            IntPtr native_pool;

            gst_query_parse_nth_allocation_pool(Handle, index, out native_pool, out size, out min_buffers, out max_buffers);
            pool = GLib.Object.GetObject(native_pool, true) as Gst.BufferPool;
        }
コード例 #2
0
 public void AddAllocationPool(Gst.BufferPool pool, uint size, uint min_buffers, uint max_buffers)
 {
     gst_query_add_allocation_pool(Handle, pool == null ? IntPtr.Zero : pool.Handle, size, min_buffers, max_buffers);
 }
コード例 #3
0
 public void SetNthAllocationPool(uint index, Gst.BufferPool pool, uint size, uint min_buffers, uint max_buffers)
 {
     gst_query_set_nth_allocation_pool(Handle, index, pool == null ? IntPtr.Zero : pool.Handle, size, min_buffers, max_buffers);
 }