protected override bool StartCore() { if (Pool == null) { Pool = CreatePool(); Pool.Parent = this; } Capturer.CaptureSuccessed += Capturer_CaptureSuccessed; return(DecodeLooper.Start()); }
protected override bool StopCore() { DecodeLooper.Stop(); Capturer.CaptureSuccessed -= Capturer_CaptureSuccessed; return(true); }