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

...for displaying information in the movieplayer

 - Set Lua api version to 1.36


Origin commit data
------------------
Branch: ni/coolstream
Commit: 644ab18844
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-17 (Sun, 17 Jan 2016)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-01-17 06:12:37 +01:00
parent 40e38a9a75
commit 7c29c4029e
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);