screensaver.cpp: use paintImage for CST...

showFrame does not work correctly on CST if Video decoder is busy, e.g streaming
no way to detect it on Coolstream yet
This commit is contained in:
GetAway
2019-01-10 20:34:56 +01:00
parent 9dcc317db4
commit acc651e528

View File

@@ -301,7 +301,11 @@ void CScreenSaver::paint()
}
dprintf(DEBUG_INFO, "[CScreenSaver] %s - %d : %s\n", __func__, __LINE__, v_bg_files.at(index).c_str());
#if HAVE_ARM_HARDWARE
m_frameBuffer->showFrame(v_bg_files.at(index));
#else
paintImage(v_bg_files.at(index), 0, 0, m_frameBuffer->getScreenWidth(true), m_frameBuffer->getScreenHeight(true));
#endif
if (!g_settings.screensaver_random)
index++;