fb_generic: add possibility to handle with unscaled images in showFrame()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 05cf31b3dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-02-06 (Thu, 06 Feb 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2020-02-06 00:16:05 +01:00
committed by vanhofen
parent 28e1aeecef
commit 106db80d75
2 changed files with 20 additions and 7 deletions

View File

@@ -271,8 +271,9 @@ class CFrameBuffer : public sigc::trackable
{
SHOW_FRAME_FALLBACK_MODE_OFF = 0,
SHOW_FRAME_FALLBACK_MODE_IMAGE = 1,
SHOW_FRAME_FALLBACK_MODE_BLACKSCREEN = 2,
SHOW_FRAME_FALLBACK_MODE_CALLBACK = 4
SHOW_FRAME_FALLBACK_MODE_IMAGE_UNSCALED = 2,
SHOW_FRAME_FALLBACK_MODE_BLACKSCREEN = 4,
SHOW_FRAME_FALLBACK_MODE_CALLBACK = 8
};
bool showFrame(const std::string & filename, int fallback_mode = SHOW_FRAME_FALLBACK_MODE_OFF);
void stopFrame();