private void StartVideoSource() { if (_videoSource == null || _videoSource.State == VideoSourceState.Running) { return; } _videoSource.AttachMatrix(_matrix); _videoSource.MatrixUpdated += OnMatrixUpdated; try { if (_videoSource.State == VideoSourceState.Closed) { _videoSource.Open(); } _videoSource.Start(); } catch (Exception exc) { Log.Error("Не удалось открыть видеоисточник.", exc); } }