Commit 8f2fde3c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

LuaHTTP: do not fail when requesting command=fullscreen

If no input or no vout, it failed.

Close #11211
parent 428ede60
......@@ -149,7 +149,9 @@ processcommands = function ()
vlc.sd.add(val)
end
elseif command == "fullscreen" then
vlc.video.fullscreen()
if vlc.object.vout() then
vlc.video.fullscreen()
end
elseif command == "snapshot" then
common.snapshot()
elseif command == "volume" then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment