コード例 #1
0
        public Gst.PluginFeature[] FeatureFilter(Gst.PluginFeatureFilter filter, bool first)
        {
            GstSharp.PluginFeatureFilterWrapper filter_wrapper = new GstSharp.PluginFeatureFilterWrapper(filter);
            IntPtr raw_ret = gst_registry_feature_filter(Handle, filter_wrapper.NativeDelegate, first, IntPtr.Zero);

            Gst.PluginFeature[] ret = (Gst.PluginFeature[])GLib.Marshaller.ListPtrToArray(raw_ret, typeof(GLib.List), true, true, typeof(Gst.PluginFeature));
            return(ret);
        }
コード例 #2
0
 public PluginFeatureFilterWrapper(Gst.PluginFeatureFilter managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new PluginFeatureFilterNative(NativeCallback);
     }
 }