Consolidated start stream hotkey/button behaviour if keep recording is enabled

This commit is contained in:
palana 2014-01-12 23:01:40 +01:00
parent 14a615b8d7
commit 1b51e1344a

View File

@ -27,7 +27,7 @@ void STDCALL OBS::StartStreamHotkey(DWORD hotkey, UPARAM param, bool bDown)
if(App->bStartStreamHotkeyDown && !bDown)
App->bStartStreamHotkeyDown = false;
else if(!App->bRunning)
else if(!App->bRunning || !App->bStreaming)
{
if(App->bStartStreamHotkeyDown = bDown)
App->Start();