Beispiel #1
0
 public PadBlockCallbackWrapper(PadBlockCallback managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new PadBlockCallbackNative(NativeCallback);
     }
 }
Beispiel #2
0
 public bool SetBlockedAsync (bool blocked, PadBlockCallback cb, IntPtr user_data)
 {
     Hyena.Log.Debug ("[Streamrecorder.Gst.Pad]<PadSetBlockedAsync> START");
     PadBlockCallbackWrapper cb_wrapper = new PadBlockCallbackWrapper (cb);
     bool ret = gst_pad_set_blocked_async (raw, blocked, cb_wrapper.NativeDelegate, user_data);
     Hyena.Log.Debug ("[Streamrecorder.Gst.Pad]<PadSetBlockedAsync> END");
     return ret;
 }
 public PadBlockCallbackWrapper(PadBlockCallback managed)
 {
     this.managed = managed;
     if (managed != null)
         NativeDelegate = new PadBlockCallbackNative (NativeCallback);
 }