aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-11-27 19:13:35 +0530
committersinanmohd <sinan@sinanmohd.com>2023-11-27 19:13:35 +0530
commita30a250c87c0641ee1267107689fba3c6ca7fc8e (patch)
tree95b5c8bfad954c6b71ca2180f646e7b169de1fda
parent349f2d2f8a402036d230fd3554ba1ecdb01d1fa7 (diff)
mpv: clean up
-rw-r--r--main.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.lua b/main.lua
index 0f62464..98a4ad1 100644
--- a/main.lua
+++ b/main.lua
@@ -34,11 +34,8 @@ local sub_needed = function ()
isvideo = true
end
end
- if not isvideo then
- return false
- end
- return true
+ return isvideo
end
local sub_setup = function ()