lua: disable block from luavideo

Origin commit data
------------------
Commit: 8cc25a380b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-08 (Sat, 08 Jun 2019)
This commit is contained in:
Jacek Jendrzej
2019-06-08 16:00:27 +02:00
committed by vanhofen
parent f41e451c11
commit f5a27fb7c9

View File

@@ -543,6 +543,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);