Fix CCExtractor failing in edge cases by repacking first

This commit is contained in:
rlaphoenix 2023-03-26 12:04:16 +01:00
parent bf3219b4e8
commit 1c73e8d7fa
1 changed files with 3 additions and 0 deletions

View File

@ -205,6 +205,9 @@ class Video(Track):
if not executable:
raise EnvironmentError("ccextractor executable was not found.")
# ccextractor often fails in weird ways unless we repack
self.repackage()
out_path = Path(out_path)
try: