fix(worker): 修复unified_render_service.py的black格式化问题 #359

Merged
xiaoxia merged 1 commits from fix/unified-render-black-format into develop 2026-07-15 11:52:51 +08:00
@@ -1372,9 +1372,7 @@ class UnifiedRenderService:
if all_cut:
# 全硬切:用 concat filter,性能远优于 xfade
concat_inputs = "".join(f"[{label}]" for label in layer_labels)
filter_parts.append(
f"{concat_inputs}concat=n={len(layer_labels)}:v=1:a=0[{out_label}]"
)
filter_parts.append(f"{concat_inputs}concat=n={len(layer_labels)}:v=1:a=0[{out_label}]")
logger.info(
"[unified-render] layer=%s clips=%d using concat (all hard-cut)",
layer.role,