mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
Screensaver: try to fix background
Ensure to have blank background before paint screensaver content. This should avoid possible holes with some images.
This commit is contained in:
@@ -108,7 +108,6 @@ void CScreenSaver::Start()
|
||||
m_viewer->SetAspectRatio(float(4.0/3));
|
||||
|
||||
m_viewer->Cleanup();
|
||||
|
||||
m_frameBuffer->stopFrame();
|
||||
|
||||
if(!thrScreenSaver)
|
||||
@@ -162,6 +161,7 @@ void* CScreenSaver::ScreenSaverPrg(void* arg)
|
||||
|
||||
PScreenSaver->ReadDir(); //TODO kill Screensaver if false
|
||||
PScreenSaver->m_frameBuffer->Clear();
|
||||
PScreenSaver->m_frameBuffer->showFrame("blackscreen.jpg");
|
||||
|
||||
if (g_settings.screensaver_timeout)
|
||||
{
|
||||
|
Reference in New Issue
Block a user