Fixed glitchy ending

Fixed the issue where the ending freezes for multiple seconds (again cause someone broke my previous fix)
pull/1039/head
PatatjeMC 2 years ago
parent 2cfd20b566
commit 771452544b

@ -141,7 +141,7 @@ def make_final_video(
ffmpeg_extract_subclip( ffmpeg_extract_subclip(
"assets/temp/temp.mp4", "assets/temp/temp.mp4",
0, 0,
final.duration, length,
targetname=f"results/{subreddit}/{filename}", targetname=f"results/{subreddit}/{filename}",
) )
save_data(subreddit, filename, title, idx, background_config[2]) save_data(subreddit, filename, title, idx, background_config[2])

Loading…
Cancel
Save