From 29f027ec7afc3c61a80ab4ddfcf6aea552006339 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 17 May 2018 16:26:39 +0200 Subject: [PATCH] Screensaver: try to fix background Ensure to have blank background before paint screensaver content. This should avoid possible holes with some images. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/43c70513f793098afdba27f553b1078d035eca74 Author: Thilo Graf Date: 2018-05-17 (Thu, 17 May 2018) ------------------ This commit was generated by Migit --- .../backgrounds/1280x720/blackscreen.jpg | Bin 0 -> 3884 bytes data/pictures/backgrounds/Makefile.am | 1 + src/gui/screensaver.cpp | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 data/pictures/backgrounds/1280x720/blackscreen.jpg diff --git a/data/pictures/backgrounds/1280x720/blackscreen.jpg b/data/pictures/backgrounds/1280x720/blackscreen.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c3cd9e3897a03170a4daaa379fd15a21de4234f1 GIT binary patch literal 3884 zcmex=SetAspectRatio(float(4.0/3)); m_viewer->Cleanup(); - m_frameBuffer->stopFrame(); if(!thrScreenSaver) @@ -171,6 +170,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) {