CLuaInstVideo: Add script function 'setInfoFunc()'...

...for displaying information in the movieplayer

 - Set Lua api version to 1.36
This commit is contained in:
M. Liebmann
2016-01-17 06:12:37 +01:00
parent c7b6026ac2
commit 644ab18844
5 changed files with 75 additions and 4 deletions

View File

@@ -24,7 +24,8 @@ class CLuaVideo
{
public:
bool singlePlay;
CLuaVideo() { singlePlay=false; };
std::string infoFunc;
CLuaVideo() { singlePlay=false; infoFunc=""; };
~CLuaVideo() {};
};
@@ -36,6 +37,7 @@ class CLuaInstVideo
static CLuaInstVideo* getInstance();
static void LuaVideoRegister(lua_State *L);
static int channelRezap(lua_State *L);
static bool execLuaInfoFunc(lua_State *L, int xres, int yres, int aspectRatio, int framerate);
/* deprecated functions */
static int setBlank_old(lua_State *L);
@@ -53,6 +55,7 @@ class CLuaInstVideo
static int ShowPicture(lua_State *L);
static int StopPicture(lua_State *L);
static int PlayFile(lua_State *L);
static int setInfoFunc(lua_State *L);
static int zapitStopPlayBack(lua_State *L);
static int createChannelIDfromUrl(lua_State *L);
static int getNeutrinoMode(lua_State *L);