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> {
8181 let out = ec_testkit::ffmpeg()
8282 .args(["-v", "error", "-i"])
8383 .arg(path)
84- .args(["-f", "rawvideo", "-pix_fmt", "yuv420p", "-"])
84+ .args(["-fps_mode", "passthrough", "-f", "rawvideo", "-pix_fmt", "yuv420p", "-"])
8585 .output()
8686 .expect("ffmpeg runs");
8787 assert!(out.status.success(), "ffmpeg failed on {path:?}");