fix(rebase): rebase follow up corrections

This commit is contained in:
CarolinePascal
2026-06-15 14:18:40 +02:00
parent 364d4de96f
commit 655338abf3
2 changed files with 2 additions and 2 deletions
@@ -281,7 +281,7 @@ class VideoFrameProvider:
reencode_video(
src,
out_path,
camera_encoder=encoder,
video_encoder=encoder,
overwrite=True,
start_time_s=from_timestamp,
end_time_s=to_timestamp,
+1 -1
View File
@@ -524,7 +524,7 @@ class TestReencodeVideo:
src = TEST_ARTIFACTS_DIR / "clip_6frames.mp4"
out = tmp_path / "trim_window.mp4"
cfg = VideoEncoderConfig(vcodec="h264")
reencode_video(src, out, camera_encoder=cfg, start_time_s=0.05, end_time_s=0.12, overwrite=True)
reencode_video(src, out, video_encoder=cfg, start_time_s=0.05, end_time_s=0.12, overwrite=True)
with av.open(str(out)) as container:
frames = list(container.decode(video=0))