From 8e7965f4c9618a657c40704fa7e78f9958d944e5 Mon Sep 17 00:00:00 2001 From: Chris Busillo Date: Mon, 1 Jul 2024 15:52:54 -0400 Subject: [PATCH] cleanup --- bd_to_avp/modules/video.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bd_to_avp/modules/video.py b/bd_to_avp/modules/video.py index 47140a9..c943ffa 100644 --- a/bd_to_avp/modules/video.py +++ b/bd_to_avp/modules/video.py @@ -188,15 +188,12 @@ def detect_crop_parameters( if not crop_params: return "" - # Find the maximum dimensions max_width = max(param[0] for param in crop_params) max_height = max(param[1] for param in crop_params) - # Find the minimum x and y offsets min_x = min(param[2] for param in crop_params) min_y = min(param[3] for param in crop_params) - # Composite the largest frame composite_crop = f"{max_width}:{max_height}:{min_x}:{min_y}" return composite_crop