Example #1
0
        bool InvokeNative(GES.Formatter formatter, GES.Timeline timeline, string uri)
        {
            IntPtr native_uri = GLib.Marshaller.StringToPtrGStrdup(uri);
            IntPtr error      = IntPtr.Zero;
            bool   __result   = native_cb(formatter == null ? IntPtr.Zero : formatter.Handle, timeline == null ? IntPtr.Zero : timeline.Handle, native_uri, out error);

            GLib.Marshaller.Free(native_uri);
            return(__result);
        }
        bool InvokeNative(GES.Formatter dummy_instance, string uri)
        {
            IntPtr native_uri = GLib.Marshaller.StringToPtrGStrdup(uri);
            IntPtr error      = IntPtr.Zero;
            bool   __result   = native_cb(dummy_instance == null ? IntPtr.Zero : dummy_instance.Handle, native_uri, out error);

            GLib.Marshaller.Free(native_uri);
            return(__result);
        }
Example #3
0
 public void AddFormatter(GES.Formatter formatter)
 {
     ges_project_add_formatter(Handle, formatter == null ? IntPtr.Zero : formatter.Handle);
 }