mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2025-11-25 03:15:04 +08:00
Merge pull request #692 from harry0703/dev
refactor: remove unnecessary close_clip calls in video processing
This commit is contained in:
@@ -193,9 +193,6 @@ def combine_videos(
|
||||
clip_resized = clip.resized(new_size=(new_width, new_height)).with_position("center")
|
||||
clip = CompositeVideoClip([background, clip_resized])
|
||||
|
||||
close_clip(clip_resized)
|
||||
close_clip(background)
|
||||
|
||||
shuffle_side = random.choice(["left", "right", "top", "bottom"])
|
||||
if video_transition_mode.value == VideoTransitionMode.none.value:
|
||||
clip = clip
|
||||
|
||||
Reference in New Issue
Block a user