mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
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:
@@ -2169,15 +2169,10 @@ void CControlAPI::ScreenshotCGI(CyhookHandler *hh)
|
||||
if(screenshot){
|
||||
screenshot->EnableOSD(enableOSD);
|
||||
screenshot->EnableVideo(enableVideo);
|
||||
#if 0
|
||||
screenshot->Start();
|
||||
hh->SendOk(); // FIXME what if screenshot->Start() failed?
|
||||
#else
|
||||
if (screenshot->StartSync())
|
||||
hh->SendOk();
|
||||
else
|
||||
hh->SendError();
|
||||
#endif
|
||||
delete screenshot;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user