Fix hardcoded fps (#1068)

* fix hardcoded fps

* fallback to temp_fps when output_video_fps is None

* fix test_ffmpeg

* change temp-fps -> output-audio-fps

* cleanup

* cleanup
This commit is contained in:
Harisreedhar
2026-03-25 19:06:14 +05:30
committed by GitHub
parent 6a6d200a01
commit aa9701fdfe
10 changed files with 38 additions and 14 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ def test_merge_video() -> None:
create_temp_directory(state_manager.get_temp_path(), output_path)
extract_frames(target_path, output_path, (452, 240), 25.0, 0, 1)
assert merge_video(target_path, output_path, 25.0, (452, 240), 0, 1) is True
assert merge_video(target_path, output_path, 25.0, 25.0, (452, 240), 0, 1) is True
clear_temp_directory(state_manager.get_temp_path(), output_path)