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 2024-09-19 08:43:22 +02:00 committed by Dudemanguy
parent 21a0fa7abe
commit 284293ceb5
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ end
local function do_cycle() local function do_cycle()
if pullup_on() == "yes" then if pullup_on() == "yes" then
-- if pullup is on remove it -- 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 return
elseif mp.get_property("deinterlace") == "yes" then elseif mp.get_property("deinterlace") == "yes" then
-- if deinterlace is on, turn it off and insert pullup filter -- if deinterlace is on, turn it off and insert pullup filter