private void stop() { if (_video != null) { _video.Stop(); } _video = null; if (_display != null) { _display.Clear(); } }
private void Stop() { if (_started) { _started = false; lock (_videoObj) { _video.Stop(); } FfmpegHeader = null; HikM4Header = null; } }