summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/lua/autocrop.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/TOOLS/lua/autocrop.lua b/TOOLS/lua/autocrop.lua
index 62aee7c89a..57581cf7a5 100644
--- a/TOOLS/lua/autocrop.lua
+++ b/TOOLS/lua/autocrop.lua
@@ -142,7 +142,10 @@ function cleanup()
-- Remove all existing filters.
for key, value in pairs(labels) do
- remove_filter(value)
+ -- No need to remove initial crop in vo_crop mode
+ if not (options.use_vo_crop and value == labels.crop) then
+ remove_filter(value)
+ end
end
-- Kill all timers.