mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
plugins: don't blit over plugin output every second
Origin commit data
------------------
Branch: ni/coolstream
Commit: e65cfee56f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-08-14 (Tue, 14 Aug 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -117,8 +117,12 @@ void* CLCD::TimeThread(void *)
|
||||
CLCD::getInstance()->showTime();
|
||||
/* hack, just if we missed the blit() somewhere
|
||||
* this will update the framebuffer once per second */
|
||||
if (getenv("SPARK_NOBLIT") == NULL)
|
||||
CFrameBuffer::getInstance()->blit();
|
||||
if (getenv("SPARK_NOBLIT") == NULL) {
|
||||
CFrameBuffer *fb = CFrameBuffer::getInstance();
|
||||
/* plugin start locks the framebuffer... */
|
||||
if (!fb->Locked())
|
||||
fb->blit();
|
||||
}
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user