nlab.lua fix showpicture

Origin commit data
------------------
Branch: ni/coolstream
Commit: 39304bd0cf
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-11-01 (Mon, 01 Nov 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2021-11-01 19:00:14 +01:00
parent 8cef367c30
commit a440b562db

View File

@@ -125,17 +125,18 @@ elseif a[2] == "misc" then
end
misc = nil
--[[ FIXME: won't work
elseif a[2] == "video" then
-- see src/gui/lua/lua_video.cpp
video = video.new()
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
video:zapitStopPlayBack(false)
r = video:StopPicture()
end
]]
end
if r ~= nil and r ~= "" then