diff options
author | wm4 <wm4@nowhere> | 2015-05-09 21:41:44 +0200 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-05-15 10:28:34 +0900 |
commit | a96dceaae26e899a12af756b81dcad0b8efa08f5 (patch) | |
tree | 994a5925ee271a048f3d1e3a0c1132d2288a4982 | |
parent | 002c387781041a369ba188858706d4126e36c80d (diff) | |
download | mpv-a96dceaae26e899a12af756b81dcad0b8efa08f5.tar.bz2 mpv-a96dceaae26e899a12af756b81dcad0b8efa08f5.tar.xz |
ytdl_hook: remove tabs
We don't allow tabs in normal source code.
(cherry picked from commit 9438f811ae5713e59873931d167c8c8472dc12db)
-rw-r--r-- | player/lua/ytdl_hook.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua index a3be2be812..5e87bc3bc3 100644 --- a/player/lua/ytdl_hook.lua +++ b/player/lua/ytdl_hook.lua @@ -104,11 +104,11 @@ mp.add_hook("on_load", 10, function () "--sub-format", subformat, "--no-playlist" } - -- Checks if video option is "no", change options accordingly - if (mp.get_property("options/vid") == "no") then - format = "bestaudio/best" - msg.verbose("Video disabled. Only using audio") - end + -- Checks if video option is "no", change options accordingly + if (mp.get_property("options/vid") == "no") then + format = "bestaudio/best" + msg.verbose("Video disabled. Only using audio") + end if (format ~= "") then table.insert(command, "--format") |