Fixed webcam-bug.
This commit is contained in:
1 parent
1d3b238dab
commit
00fb8079e6
1 file changed
+4
-1
@@ -541,6 +541,8 @@ namespace Vocaluxe.Screens
|
|||||||
{
|
{
|
||||||
base.OnClose();
|
base.OnClose();
|
||||||
CBackgroundMusic.Disabled = false;
|
CBackgroundMusic.Disabled = false;
|
||||||
|
if (_Webcam)
|
||||||
|
CWebcam.Stop();
|
||||||
_CloseSong();
|
_CloseSong();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -885,7 +887,8 @@ namespace Vocaluxe.Screens
|
|||||||
_Buttons[_ButtonContinue].Visible = false;
|
_Buttons[_ButtonContinue].Visible = false;
|
||||||
_Buttons[_ButtonSkip].Visible = false;
|
_Buttons[_ButtonSkip].Visible = false;
|
||||||
CSound.Play(_CurrentStream);
|
CSound.Play(_CurrentStream);
|
||||||
CWebcam.Start();
|
if(_Webcam)
|
||||||
|
CWebcam.Start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user