From acc651e5285b656427ecd2f4e1eea7e8514df2a9 Mon Sep 17 00:00:00 2001 From: GetAway Date: Thu, 10 Jan 2019 20:34:56 +0100 Subject: [PATCH] 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 --- src/gui/screensaver.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/screensaver.cpp b/src/gui/screensaver.cpp index 80d8409b6..db213433d 100644 --- a/src/gui/screensaver.cpp +++ b/src/gui/screensaver.cpp @@ -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++;