lua: disable block from luavideo

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8cc25a380b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-08 (Sat, 08 Jun 2019)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-06-08 16:00:27 +02:00
committed by vanhofen
parent e5624a6d86
commit 3ccc11e504

View File

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