未生成文件时,上报失败

This commit is contained in:
2025-02-08 15:02:36 +08:00
parent b7d6797901
commit 94a5e687df
4 changed files with 17 additions and 3 deletions

View File

@ -84,7 +84,9 @@ def check_placeholder_exist(placeholder_id, task_params):
def start_ffmpeg_task(ffmpeg_task):
for task in ffmpeg_task.analyze_input_render_tasks():
start_ffmpeg_task(task)
result = start_ffmpeg_task(task)
if not result:
return False
ffmpeg_task.correct_task_type()
return ffmpeg.start_render(ffmpeg_task)