mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user