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
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user