Пример #1
0
 public MpvEventTask(MpvWrapper wrapper, MpvStatus mpvStatus, CancellationTokenSource cancellationTokenSource)
 {
     Wrapper                 = wrapper;
     MpvStatus               = mpvStatus;
     MpvObservables          = new MpvObservables(mpvStatus);
     CancellationTokenSource = cancellationTokenSource;
 }
Пример #2
0
 public MpvWrapper(IntPtr systemHandle, MpvStatus mpvStatus)
 {
     SystemHandle = systemHandle;
     MpvStatus    = mpvStatus;
     MpvHandle    = Libmpv.mpv_create();
     Initialize();
     EventTask = new MpvEventTask(this, MpvStatus, EventTaskCancellationTokenSource).StartEventTask();
 }
Пример #3
0
 public MpvObservables(MpvStatus status)
 {
     Status = status;
 }