Esempio n. 1
0
 static void error_cb(IntPtr remuxer, IntPtr message)
 {
     try {
         GstRemuxer remuxer_managed = GLib.Object.GetObject(remuxer, false) as GstRemuxer;
         remuxer_managed.OnError(GLib.Marshaller.Utf8PtrToString(message));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Esempio n. 2
0
 static void percentcompleted_cb(IntPtr remuxer, float percent)
 {
     try {
         GstRemuxer remuxer_managed = GLib.Object.GetObject(remuxer, false) as GstRemuxer;
         remuxer_managed.OnPercentCompleted(percent);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }