From 00fb8079e6af822c3aff4c687e0fe46395a368e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Tue, 31 Dec 2013 10:36:11 +0100 Subject: [PATCH] Fixed webcam-bug. --- Vocaluxe/Screens/CScreenSing.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Vocaluxe/Screens/CScreenSing.cs b/Vocaluxe/Screens/CScreenSing.cs index 973fb9f3..b9a363aa 100644 --- a/Vocaluxe/Screens/CScreenSing.cs +++ b/Vocaluxe/Screens/CScreenSing.cs @@ -541,6 +541,8 @@ namespace Vocaluxe.Screens { base.OnClose(); CBackgroundMusic.Disabled = false; + if (_Webcam) + CWebcam.Stop(); _CloseSong(); } @@ -885,7 +887,8 @@ namespace Vocaluxe.Screens _Buttons[_ButtonContinue].Visible = false; _Buttons[_ButtonSkip].Visible = false; CSound.Play(_CurrentStream); - CWebcam.Start(); + if(_Webcam) + CWebcam.Start(); } }