lua: disable block from luavideo

This commit is contained in:
Jacek Jendrzej
2019-06-07 19:01:49 +02:00
parent 4a52b79c0f
commit de699f2a2f

View File

@@ -535,6 +535,13 @@ void CLuaInstance::runScript(const char *fileName, std::vector<std::string> *arg
} else if (videoDecoder->getBlank())
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);