From 4f071d99b957841ca07710997400725a80c48bcc Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 28 Jun 2019 17:08:16 +0200 Subject: [PATCH] Revert "lua: don't play video if movieplayer is in use" This reverts commit 45925b1329426f597bdcbc38ef742617f20aa6ca. --- src/gui/lua/lua_video.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/lua/lua_video.cpp b/src/gui/lua/lua_video.cpp index d41887477..3a3291b8e 100644 --- a/src/gui/lua/lua_video.cpp +++ b/src/gui/lua/lua_video.cpp @@ -82,10 +82,6 @@ void CLuaInstVideo::LuaVideoRegister(lua_State *L) int CLuaInstVideo::VideoNew(lua_State *L) { - if(CMoviePlayerGui::getInstance().Playing()){ - fprintf(stderr, "[CLuaInstVideo::%s:%d] movieplayer is blocked by other file\n", __func__, __LINE__); - return 0; - } CLuaVideo **udata = (CLuaVideo **) lua_newuserdata(L, sizeof(CLuaVideo *)); *udata = new CLuaVideo(); luaL_getmetatable(L, LUA_VIDEO_CLASSNAME);