Inheritance: GLib.Object, IPlayer
Exemple #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);
     }
 }
Exemple #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);
     }
 }
Exemple #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);
     }
 }
Exemple #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);
     }
 }