Commit c00f35b1 authored by Pierre Ynard's avatar Pierre Ynard

lua: fix snapshots

This gets rid of a broken vlc.object.find() call
parent cb6f35d7
...@@ -34,7 +34,7 @@ end ...@@ -34,7 +34,7 @@ end
-- Take a video snapshot -- Take a video snapshot
function snapshot() function snapshot()
local vout = vlc.object.find(nil,"vout","anywhere") local vout = vlc.object.vout()
if not vout then return end if not vout then return end
vlc.var.set(vout,"video-snapshot",nil) vlc.var.set(vout,"video-snapshot",nil)
end end
......
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