chore: rebase到develop + 格式化代码
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 24s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 1m41s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1541h14m8s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1541h14m10s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1541h14m10s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1541h14m12s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1541h14m12s
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1541h45m47s

This commit is contained in:
CI Bot
2026-07-14 09:37:16 +08:00
committed by xiaoxia-bot
parent 2652ca5c8a
commit 9c19da3c34
4 changed files with 3 additions and 6 deletions
@@ -1131,7 +1131,6 @@ class UnifiedRenderService:
return min(clip.duration, clip.actual_duration) if clip.actual_duration > 0 else clip.duration
return clip.actual_duration if clip.actual_duration > 0 else 0.0
@staticmethod
def _clip_speed(clip: ResolvedClip) -> float:
"""获取 clip 的播放速度,无效值回退到 1.0."""
@@ -1148,4 +1147,3 @@ class UnifiedRenderService:
if abs(speed - 1.0) < 1e-6:
return base
return base / speed