static void error_cb(IntPtr gvc, IntPtr message) { try { GstVideoSplitter gvc_managed = GLib.Object.GetObject(gvc, false) as GstVideoSplitter; gvc_managed.OnError(GLib.Marshaller.Utf8PtrToString(message)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void percentcompleted_cb(IntPtr gvc, float percent) { try { GstVideoSplitter gvc_managed = GLib.Object.GetObject(gvc, false) as GstVideoSplitter; gvc_managed.OnPercentCompleted(percent); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }