示例#1
0
        protected override bool StartCore()
        {
            if (Pool == null)
            {
                Pool        = CreatePool();
                Pool.Parent = this;
            }

            Capturer.CaptureSuccessed += Capturer_CaptureSuccessed;

            return(DecodeLooper.Start());
        }
示例#2
0
 protected override bool StopCore()
 {
     DecodeLooper.Stop();
     Capturer.CaptureSuccessed -= Capturer_CaptureSuccessed;
     return(true);
 }