controlapi: remove commented code

Origin commit data
------------------
Branch: ni/coolstream
Commit: 812f921bde
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-12-26 (Thu, 26 Dec 2019)

Origin message was:
------------------
- controlapi: remove commented code

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-12-26 23:53:50 +01:00
parent b7f6e8afb1
commit a4e944ac06

View File

@@ -2169,15 +2169,10 @@ void CControlAPI::ScreenshotCGI(CyhookHandler *hh)
if(screenshot){ if(screenshot){
screenshot->EnableOSD(enableOSD); screenshot->EnableOSD(enableOSD);
screenshot->EnableVideo(enableVideo); screenshot->EnableVideo(enableVideo);
#if 0
screenshot->Start();
hh->SendOk(); // FIXME what if screenshot->Start() failed?
#else
if (screenshot->StartSync()) if (screenshot->StartSync())
hh->SendOk(); hh->SendOk();
else else
hh->SendError(); hh->SendError();
#endif
delete screenshot; delete screenshot;
} }
} }