Fix last commit

This commit is contained in:
M. Liebmann
2016-01-17 15:45:04 +01:00
parent 644ab18844
commit b1f08a6012
2 changed files with 3 additions and 1 deletions

View File

@@ -177,6 +177,8 @@ int CLuaInstVideo::PlayFile(lua_State *L)
CMoviePlayerGui::getInstance().SetFile(st, sf, si1, si2);
CMoviePlayerGui::getInstance().exec(NULL, "http_lua");
CMoviePlayerGui::getInstance().setLuaInfoFunc(L, false);
if (D != NULL && !D->infoFunc.empty())
D->infoFunc = "";
int ret = CMoviePlayerGui::getInstance().getKeyPressed();
lua_pushinteger(L, ret);
return 1;

View File

@@ -32,7 +32,7 @@ extern "C" {
#if 0
#define LUA_API_VERSION_MAJOR 1
#define LUA_API_VERSION_MINOR 36
#define LUA_API_VERSION_MINOR 37
#endif
void LuaInstRegisterFunctions(lua_State *L, bool fromThreads=false);