Halt renders on errors or missing files

This commit is contained in:
Brett Williams
2023-05-27 13:26:10 -05:00
parent cd948634ad
commit 58113f423c
4 changed files with 21 additions and 10 deletions

View File

@@ -78,7 +78,7 @@ class FFMPEGRenderWorker(BaseRenderWorker):
self.current_frame = stats['current_frame']
time_elapsed = stats['time_elapsed']
elif "not found" in line:
self.errors.append(line)
self.log_error(line)
if __name__ == '__main__':