Exemple #1
0
        public void Stop()
        {
            if (!_isworking)
            {
                return;
            }
            _isworking = false;

            _capturer.Stop();
            _draw.Stop();
        }
Exemple #2
0
 public void Stop()
 {
     if (!_isworking)
     {
         return;
     }
     _isworking = false;
     ThreadEx.ThreadStop(_playThread);
     ThreadEx.ThreadStop(_PlayBackwardThread);
     _queue.Clear();
     _curPlayMediaTimetick = 0;
     _yuvDraw.Stop();
 }