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){
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user