public MpvEventTask(MpvWrapper wrapper, MpvStatus mpvStatus, CancellationTokenSource cancellationTokenSource) { Wrapper = wrapper; MpvStatus = mpvStatus; MpvObservables = new MpvObservables(mpvStatus); CancellationTokenSource = cancellationTokenSource; }
public MpvWrapper(IntPtr systemHandle, MpvStatus mpvStatus) { SystemHandle = systemHandle; MpvStatus = mpvStatus; MpvHandle = Libmpv.mpv_create(); Initialize(); EventTask = new MpvEventTask(this, MpvStatus, EventTaskCancellationTokenSource).StartEventTask(); }
public MpvObservables(MpvStatus status) { Status = status; }