fix(mux): pass the exact frame rate to mkvmerge default duration

FPS.exact keeps 24000/1001 instead of rounding to 23.976, and the hybrid source copies no longer set needs_duration_fix, which nothing read.
This commit is contained in:
imSp4rky
2026-11-14 11:17:07 -07:00
parent 6964f58271
commit dfda630b78
6 changed files with 40 additions and 5 deletions
+1 -1
View File
@@ -779,7 +779,7 @@ def test_the_hybrid_step_gets_the_base_alone_when_there_is_no_dv(tmp_path: Path)
tracks = hybrid_source_tracks(base, None) # type: ignore[arg-type]
assert len(tracks) == 1 and tracks[0].range == Video.Range.HDR10P and tracks[0].needs_duration_fix
assert len(tracks) == 1 and tracks[0].range == Video.Range.HDR10P
def test_the_api_takes_generate_dv_with_any_range_as_dl_does() -> None: