diff --git a/src/gui/lua/lua_video.cpp b/src/gui/lua/lua_video.cpp index b0e604847..8ee09629f 100644 --- a/src/gui/lua/lua_video.cpp +++ b/src/gui/lua/lua_video.cpp @@ -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; diff --git a/src/gui/lua/luainstance.h b/src/gui/lua/luainstance.h index f3aa9ad70..6e803e69a 100644 --- a/src/gui/lua/luainstance.h +++ b/src/gui/lua/luainstance.h @@ -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);