mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
framebuffer: revival of showFrame() function to allow ...
... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons
Origin commit data
------------------
Branch: ni/coolstream
Commit: edc8527379
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-05 (Tue, 05 May 2015)
Origin message was:
------------------
- framebuffer: revival of showFrame() function to allow ...
... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons
------------------
This commit was generated by Migit
This commit is contained in:
@@ -682,13 +682,13 @@ int CLuaInstance::setBlank(lua_State *L)
|
||||
int CLuaInstance::ShowPicture(lua_State *L)
|
||||
{
|
||||
const char *fname = luaL_checkstring(L, 2);
|
||||
videoDecoder->ShowPicture(fname);
|
||||
CFrameBuffer::getInstance()->showFrame(fname);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int CLuaInstance::StopPicture(lua_State */*L*/)
|
||||
{
|
||||
videoDecoder->StopPicture();
|
||||
CFrameBuffer::getInstance()->stopFrame();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user