Exemplo n.º 1
0
        public Gst.Plugin[] PluginFilter(Gst.PluginFilter filter, bool first)
        {
            GstSharp.PluginFilterWrapper filter_wrapper = new GstSharp.PluginFilterWrapper(filter);
            IntPtr raw_ret = gst_registry_plugin_filter(Handle, filter_wrapper.NativeDelegate, first, IntPtr.Zero);

            Gst.Plugin[] ret = (Gst.Plugin[])GLib.Marshaller.ListPtrToArray(raw_ret, typeof(GLib.List), true, true, typeof(Gst.Plugin));
            return(ret);
        }
Exemplo n.º 2
0
		public Gst.Plugin[] PluginFilter(Gst.PluginFilter filter, bool first) {
			GstSharp.PluginFilterWrapper filter_wrapper = new GstSharp.PluginFilterWrapper (filter);
			IntPtr raw_ret = gst_registry_plugin_filter(Handle, filter_wrapper.NativeDelegate, first, IntPtr.Zero);
			Gst.Plugin[] ret = (Gst.Plugin[]) Gst.GLib.Marshaller.ListPtrToArray (raw_ret, typeof(Gst.GLib.List), true, true, typeof(Gst.Plugin));
			return ret;
		}