From 0be9864849decb95bec72ce47fc3597f8244c1de Mon Sep 17 00:00:00 2001 From: XiaoXia Bot Date: Wed, 15 Jul 2026 11:50:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(worker):=20=E4=BF=AE=E5=A4=8Dunified=5Frend?= =?UTF-8?q?er=5Fservice.py=E7=9A=84black=E6=A0=BC=E5=BC=8F=E5=8C=96?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 由硬切场景concat filter PR引入,导致develop分支Validate失败。 --- apps/worker/video_processing/unified_render_service.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/worker/video_processing/unified_render_service.py b/apps/worker/video_processing/unified_render_service.py index 66c9e4c72..b63392f0e 100755 --- a/apps/worker/video_processing/unified_render_service.py +++ b/apps/worker/video_processing/unified_render_service.py @@ -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, -- 2.54.0