TOOLS/cycle-deinterlace-pullup.lua: fix removing the filter

This has been broken since b56e63e2a9 removed vf del. Replace it with vf
remove. Fixes #14881.
This commit is contained in:
Guido Cella authored and Dudemanguy committed 2024-09-19 13:38:16 +00:00
1 parent 21a0fa7abe
commit 284293ceb5
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ end
local function do_cycle()
if pullup_on() == "yes" then
-- if pullup is on remove it
mp.command(string.format("vf del @%s:pullup", pullup_label))
mp.command(string.format("vf remove @%s:pullup", pullup_label))
return
elseif mp.get_property("deinterlace") == "yes" then
-- if deinterlace is on, turn it off and insert pullup filter