mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
lua: disable block from luavideo
This commit is contained in:
@@ -535,6 +535,13 @@ void CLuaInstance::runScript(const char *fileName, std::vector<std::string> *arg
|
|||||||
} else if (videoDecoder->getBlank())
|
} else if (videoDecoder->getBlank())
|
||||||
CLuaInstVideo::getInstance()->channelRezap(lua);
|
CLuaInstVideo::getInstance()->channelRezap(lua);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (CLuaInstVideo::getInstance() && CMoviePlayerGui::getInstance().getBlockedFromPlugin()){
|
||||||
|
CMoviePlayerGui::getInstance().setBlockedFromPlugin(false);
|
||||||
|
CMoviePlayerGui::getInstance().restoreNeutrino();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Example: runScript(fileName, "Arg1", "Arg2", "Arg3", ..., NULL);
|
// Example: runScript(fileName, "Arg1", "Arg2", "Arg3", ..., NULL);
|
||||||
|
Reference in New Issue
Block a user