Esempio n. 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);
     }
 }
Esempio n. 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);
     }
 }
Esempio n. 3
0
 static void ready_to_capture_cb(IntPtr gcc)
 {
     try {
         GstCameraCapturer gcc_managed = GLib.Object.GetObject(gcc, false) as GstCameraCapturer;
         gcc_managed.OnReadyToCapture();
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Esempio n. 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);
     }
 }