示例#1
0
 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);
     }
 }
示例#2
0
 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);
     }
 }