summaryrefslogtreecommitdiffstats
path: root/player/lua/osc.lua
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-29 15:50:09 +0200
committerwm4 <wm4@nowhere>2015-05-29 15:50:09 +0200
commit327b091909e713c2c53a45c2868ed6ae0e70a533 (patch)
treee1aa4261f2c67f9a480693a4cdf274713b1907b5 /player/lua/osc.lua
parent9fe6a8c5f54ad89b962e3d88c641b352308beacd (diff)
downloadmpv-327b091909e713c2c53a45c2868ed6ae0e70a533.tar.bz2
mpv-327b091909e713c2c53a45c2868ed6ae0e70a533.tar.xz
lua: fix options submodule
It polluted the global namespace, instead of exporting the function properly. For now, keep it compatible by explicitly keeping the bogus export. Also fix a mistake in the manpage example.
Diffstat (limited to 'player/lua/osc.lua')
-rw-r--r--player/lua/osc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 2064ba7e47..4e373da74b 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -33,7 +33,7 @@ local user_opts = {
}
-- read options from config and command-line
-read_options(user_opts, "osc")
+opt.read_options(user_opts, "osc")
local osc_param = { -- calculated by osc_init()
playresy = 0, -- canvas size Y