screensaver.cpp: use fallback if video decoder is busy

This commit is contained in:
GetAway
2019-01-13 11:13:24 +01:00
parent acc651e528
commit 8b7de5fc8f
3 changed files with 19 additions and 8 deletions

View File

@@ -266,7 +266,7 @@ class CFrameBuffer : public sigc::trackable
void RestoreScreen(int x, int y, int dx, int dy, fb_pixel_t * const memp);
void Clear();
bool showFrame(const std::string & filename);
bool showFrame(const std::string & filename, bool fallback = false);
void stopFrame();
bool loadBackgroundPic(const std::string & filename, bool show = true);
bool Lock(void);