forge
Explore
Log in

Don't you dare go Hollow

ec-vp8 tests: ffmpeg oracle uses -fps_mode passthrough

Browse files at this commit

52dfc62e6764c37b8fec214b8c72e4563a10744eAhmet Kaan GümüşParent: be88845
ffmpeg 9 conforms rawvideo output to the IVF timestamp grid, duplicating
frames where hidden altref frames consume a pts slot (altref-160x96.ivf:
96 frames out vs 90 shown). Passthrough emits exactly the shown frames,
matching the decoder contract.
crates/ec-vp8/tests/it/common.rsmodified+1 -1
@@ -81,7 +81,7 @@ pub fn ffmpeg_raw_yuv(path: &std::path::Path) -> Vec<u8> {
81 let out = ec_testkit::ffmpeg()81 let out = ec_testkit::ffmpeg()
82 .args(["-v", "error", "-i"])82 .args(["-v", "error", "-i"])
83 .arg(path)83 .arg(path)
84- .args(["-f", "rawvideo", "-pix_fmt", "yuv420p", "-"])84+ .args(["-fps_mode", "passthrough", "-f", "rawvideo", "-pix_fmt", "yuv420p", "-"])
85 .output()85 .output()
86 .expect("ffmpeg runs");86 .expect("ffmpeg runs");
87 assert!(out.status.success(), "ffmpeg failed on {path:?}");87 assert!(out.status.success(), "ffmpeg failed on {path:?}");