상속: Gtk.HBox, LongoMatch.Video.Capturer.ICapturer
예제 #1
0
 static void media_info_cb(IntPtr gcc, int width, int height, int par_n, int par_d)
 {
     try {
         GstCameraCapturer gcc_managed = GLib.Object.GetObject(gcc, false) as GstCameraCapturer;
         gcc_managed.OnMediaInfo(width, height, par_n, par_d);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
예제 #2
0
 static void device_change_cb(IntPtr gcc, int deviceChange)
 {
     try {
         GstCameraCapturer gcc_managed = GLib.Object.GetObject(gcc, false) as GstCameraCapturer;
         gcc_managed.OnDeviceChange(deviceChange);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
예제 #3
0
 static void eos_cb(IntPtr gcc)
 {
     try {
         GstCameraCapturer gcc_managed = GLib.Object.GetObject(gcc, false) as GstCameraCapturer;
         gcc_managed.OnEos();
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
예제 #4
0
 static void error_cb(IntPtr gcc, IntPtr message)
 {
     try {
         GstCameraCapturer gcc_managed = GLib.Object.GetObject(gcc, false) as GstCameraCapturer;
         gcc_managed.OnError(GLib.Marshaller.Utf8PtrToString(message));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }