[vlc-commits] lua: fix snapshots
Pierre Ynard
git at videolan.org
Thu Sep 8 23:39:02 CEST 2011
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Thu Sep 8 23:37:11 2011 +0200| [c00f35b1237bc7e8745729e10785086732c56369] | committer: Pierre Ynard
lua: fix snapshots
This gets rid of a broken vlc.object.find() call
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c00f35b1237bc7e8745729e10785086732c56369
---
share/lua/intf/modules/common.lua | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/share/lua/intf/modules/common.lua b/share/lua/intf/modules/common.lua
index a6da379..5744427 100644
--- a/share/lua/intf/modules/common.lua
+++ b/share/lua/intf/modules/common.lua
@@ -34,7 +34,7 @@ end
-- Take a video snapshot
function snapshot()
- local vout = vlc.object.find(nil,"vout","anywhere")
+ local vout = vlc.object.vout()
if not vout then return end
vlc.var.set(vout,"video-snapshot",nil)
end
More information about the vlc-commits
mailing list