plugins: don't blit over plugin output every second

This commit is contained in:
Stefan Seyfried
2012-08-14 12:14:41 +02:00
parent 3875af11de
commit e65cfee56f
2 changed files with 9 additions and 2 deletions

View File

@@ -588,10 +588,13 @@ void CPlugins::startPlugin(int number,int /*param*/)
#else
g_RCInput->clearRCMsg();
g_RCInput->stopInput();
/* stop automatic updates etc. */
frameBuffer->Lock();
//frameBuffer->setMode(720, 576, 8 * sizeof(fb_pixel_t));
printf("Starting %s\n", plugin_list[number].pluginfile.c_str());
mysystem((char *) plugin_list[number].pluginfile.c_str(), NULL, NULL);
//frameBuffer->setMode(720, 576, 8 * sizeof(fb_pixel_t));
frameBuffer->Unlock();
frameBuffer->paintBackground();
g_RCInput->restartInput();
g_RCInput->clearRCMsg();