disarm broken HAVE_SPARK_HARDWARE code

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0bff1ff02d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-01-27 (Tue, 27 Jan 2015)


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

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2015-01-27 10:59:04 +01:00
parent 190c9bb2a7
commit 08f96ff53a
3 changed files with 9 additions and 9 deletions

View File

@@ -409,7 +409,7 @@ void CPlugins::startLuaPlugin(int number)
CLuaInstance *lua = new CLuaInstance();
lua->runScript(script);
delete lua;
#if HAVE_SPARK_HARDWARE
#if 0
frameBuffer->ClearFB();
#endif
videoDecoder->Pig(-1, -1, -1, -1);
@@ -422,25 +422,25 @@ void CPlugins::startPlugin(int number)
delScriptOutput();
/* export neutrino settings to the environment */
char tmp[32];
#if HAVE_SPARK_HARDWARE
#if 0
sprintf(tmp, "%d", g_settings.screen_StartX_int);
#else
sprintf(tmp, "%d", g_settings.screen_StartX);
#endif
setenv("SCREEN_OFF_X", tmp, 1);
#if HAVE_SPARK_HARDWARE
#if 0
sprintf(tmp, "%d", g_settings.screen_StartY_int);
#else
sprintf(tmp, "%d", g_settings.screen_StartY);
#endif
setenv("SCREEN_OFF_Y", tmp, 1);
#if HAVE_SPARK_HARDWARE
#if 0
sprintf(tmp, "%d", g_settings.screen_EndX_int);
#else
sprintf(tmp, "%d", g_settings.screen_EndX);
#endif
setenv("SCREEN_END_X", tmp, 1);
#if HAVE_SPARK_HARDWARE
#if 0
sprintf(tmp, "%d", g_settings.screen_EndY_int);
#else
sprintf(tmp, "%d", g_settings.screen_EndY);
@@ -482,7 +482,7 @@ void CPlugins::startPlugin(int number)
my_system(2, plugin_list[number].pluginfile.c_str(), NULL);
//frameBuffer->setMode(720, 576, 8 * sizeof(fb_pixel_t));
frameBuffer->Unlock();
#if HAVE_SPARK_HARDWARE
#if 0
frameBuffer->ClearFB();
#endif
videoDecoder->Pig(-1, -1, -1, -1);