diff --git a/crates/ec-av1/src/decode.rs b/crates/ec-av1/src/decode.rs index 4d9c3d4f..6b310899 100644 --- a/crates/ec-av1/src/decode.rs +++ b/crates/ec-av1/src/decode.rs @@ -8169,7 +8169,7 @@ pub(crate) fn decode_inter_frame_tile_with_cdfs( let part16 = dec.symbol(&mut cdfs.partition_w16[ctx16]); if part16 != PARTITION_NONE { return Err(unsupported( - "a partition below 16x16 (this encoder never writes one)", + "an inter partition below 16x16 (8x8 and smaller inter blocks are not coded yet)", )); } decode_inter_block( diff --git a/crates/ec-av1/src/stream.rs b/crates/ec-av1/src/stream.rs index 5841fa16..b469fb92 100644 --- a/crates/ec-av1/src/stream.rs +++ b/crates/ec-av1/src/stream.rs @@ -3203,6 +3203,11 @@ mod tests { let source = std::env::var("EC_AV1_OBMC8_SOURCE").unwrap_or_else(|_| { format!("gradients=size={width}x{height}:seed={seed}:duration={duration}:rate=25") }); + // A source supplied through EC_AV1_OBMC8_SOURCE need not carry its + // own `duration=`; `-t` is the bound that always holds. Without it + // an endless source (`testsrc2`) fills the pipe forever and the + // gate hangs to its 300 s timeout. + let duration_arg = format!("{duration}"); let y4m = Command::new("ffmpeg") .args([ "-v", @@ -3211,6 +3216,8 @@ mod tests { "lavfi", "-i", &source, + "-t", + &duration_arg, "-pix_fmt", "yuv420p", "-f",