From b85e81641fe3dcc62b989dae95685c618abbb794 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Thu, 22 Oct 2026 06:11:49 -0700 Subject: [PATCH] fix(video): keep CMAF in the tests that read a CMAF rendition #6250 made fMP4 import unwrap to Legacy by default, so the two moq-video round-trip tests that assert a CMAF rendition now fail on main. Ask the import for passthrough, which is what they exercise. Co-Authored-By: Claude Opus 5.5 --- rs/moq-video/src/decode/consumer.rs | 2 +- rs/moq-video/src/decode/decoder.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rs/moq-video/src/decode/consumer.rs b/rs/moq-video/src/decode/consumer.rs index 344e5adf671..1892a5b337a 100644 --- a/rs/moq-video/src/decode/consumer.rs +++ b/rs/moq-video/src/decode/consumer.rs @@ -437,7 +437,7 @@ mod tests { let mut broadcast = moq_net::broadcast::Info::new().produce(); let subscriber = broadcast.consume(); let catalog = moq_mux::catalog::Producer::new(&mut broadcast, moq_mux::catalog::Config::default()).unwrap(); - let mut import = moq_mux::container::fmp4::Import::new(broadcast, catalog.reserve()); + let mut import = moq_mux::container::fmp4::Import::new(broadcast, catalog.reserve()).with_passthrough(true); import.decode(&init).unwrap(); import.decode(&fragment).unwrap(); diff --git a/rs/moq-video/src/decode/decoder.rs b/rs/moq-video/src/decode/decoder.rs index acd280f6adb..05bd8187743 100644 --- a/rs/moq-video/src/decode/decoder.rs +++ b/rs/moq-video/src/decode/decoder.rs @@ -663,7 +663,7 @@ mod tests { let mut broadcast = moq_net::broadcast::Info::new().produce(); let subscriber = broadcast.consume(); let catalog = moq_mux::catalog::Producer::new(&mut broadcast, moq_mux::catalog::Config::default()).unwrap(); - let mut import = moq_mux::container::fmp4::Import::new(broadcast, catalog.reserve()); + let mut import = moq_mux::container::fmp4::Import::new(broadcast, catalog.reserve()).with_passthrough(true); import.decode(&init).unwrap(); import.decode(&fragment).unwrap();