mirror of https://github.com/mpv-player/mpv
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:
parent
21a0fa7abe
commit
284293ceb5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue