mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
- controlapi: remove commented code
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -2159,15 +2159,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