Inheritance: GLib.Object, IPlayer
Beispiel #1
0
 static void tick_cb(IntPtr bvw, long current_time, long stream_length, double current_position)
 {
     try {
         GstPlayer bvw_managed = GLib.Object.GetObject(bvw, false) as GstPlayer;
         bvw_managed.OnTick(current_time, stream_length, current_position);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Beispiel #2
0
 static void eos_cb(IntPtr bvw)
 {
     try {
         GstPlayer bvw_managed = GLib.Object.GetObject(bvw, false) as GstPlayer;
         bvw_managed.OnEos();
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Beispiel #3
0
 static void error_cb(IntPtr bvw, IntPtr message)
 {
     try {
         GstPlayer bvw_managed = GLib.Object.GetObject(bvw, false) as GstPlayer;
         bvw_managed.OnError(GLib.Marshaller.Utf8PtrToString(message));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
Beispiel #4
0
 static void statechange_cb(IntPtr bvw, bool playing)
 {
     try {
         GstPlayer bvw_managed = GLib.Object.GetObject(bvw, false) as GstPlayer;
         bvw_managed.OnStateChange(playing);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }