mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
nlab.lua fix showpicture
This commit is contained in:
@@ -125,17 +125,18 @@ elseif a[2] == "misc" then
|
|||||||
end
|
end
|
||||||
misc = nil
|
misc = nil
|
||||||
|
|
||||||
--[[ FIXME: won't work
|
|
||||||
elseif a[2] == "video" then
|
elseif a[2] == "video" then
|
||||||
-- see src/gui/lua/lua_video.cpp
|
-- see src/gui/lua/lua_video.cpp
|
||||||
|
|
||||||
video = video.new()
|
video = video.new()
|
||||||
if a[3] == "showpicture" and a[4] ~= nil then
|
if a[3] == "showpicture" and a[4] ~= nil then
|
||||||
r = video:ShowPicture(a[4])
|
video:zapitStopPlayBack()
|
||||||
|
r = video:ShowPicture(arg[4])
|
||||||
elseif a[3] == "stoppicture" then
|
elseif a[3] == "stoppicture" then
|
||||||
|
video:zapitStopPlayBack(false)
|
||||||
r = video:StopPicture()
|
r = video:StopPicture()
|
||||||
end
|
end
|
||||||
]]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if r ~= nil and r ~= "" then
|
if r ~= nil and r ~= "" then
|
||||||
|
Reference in New Issue
Block a user