Browse Source

LuaHTTP: do not fail when requesting command=fullscreen

If no input or no vout, it failed.

Close #11211
pull/18/head
Jean-Baptiste Kempf 12 years ago
parent
commit
8f2fde3cdd
  1. 4
      share/lua/intf/modules/httprequests.lua

4
share/lua/intf/modules/httprequests.lua

@ -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

Loading…
Cancel
Save