fixed flickering bug with vdr2.1.7

This commit is contained in:
louis 2015-01-21 18:33:19 +01:00
parent 07fa0e71ef
commit 140e420705
5 changed files with 9 additions and 3 deletions

View File

@ -167,4 +167,8 @@ Version 0.1.4
Version 0.1.5
- removed suppression of first DisplayChannel call after VDR start
- fixed "flickering" bug with vdr2.1.7
- fixed bug that osd language was not set correctly which caused one
additional skin caching at startup
Version 0.1.6

View File

@ -24,7 +24,7 @@ cDesignerConfig::cDesignerConfig() {
SetSkin();
SetOSDSize();
SetOSDFonts();
osdLanguage = Setup.OSDLanguage;
osdLanguage = "";
}
cDesignerConfig::~cDesignerConfig() {

View File

@ -63,6 +63,7 @@ public:
bool OsdSizeChanged(void);
void SetOSDFonts(void);
bool OsdFontsChanged(void);
void SetOsdLanguage(void) { osdLanguage = Setup.OSDLanguage; };
bool OsdLanguageChanged(void);
cString GetSkinRessourcePath(void);
void AddPlugin(string name, map < int, string > &menus);

View File

@ -22,8 +22,6 @@ cSDDisplayChannel::cSDDisplayChannel(cTemplate *channelTemplate, bool WithInfo)
doOutput = false;
return;
}
channelView->DrawBackground();
channelView->DrawSignalBackground();
}
cSDDisplayChannel::~cSDDisplayChannel() {
@ -165,6 +163,8 @@ void cSDDisplayChannel::Flush(void) {
return;
if (initial) {
channelView->DrawBackground();
channelView->DrawSignalBackground();
channelView->DrawCurrentWeather();
channelView->DrawCustomTokens();
}

View File

@ -104,6 +104,7 @@ bool cPluginSkinDesigner::Start(void) {
trueColorAvailable = false;
} else
dsyslog("skindesigner: TrueColor OSD found");
config.SetOsdLanguage();
config.SetPathes();
config.ReadSkins();
config.InitSkinIterator();