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;