From d0ad1eec6a5bc5cdfcde37ce3b0123fe9432b025 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Mon, 19 Oct 2026 11:06:45 -0700 Subject: [PATCH] fix(video): propagate the Windows resize plan's error #5808 made Plan::resize fallible, but the cfg(windows) Texture::resize still passed its Result straight to process, so moq-video stopped compiling on Windows. Co-Authored-By: Claude Opus 5.5 --- rs/moq-video/src/frame.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rs/moq-video/src/frame.rs b/rs/moq-video/src/frame.rs index b94a39be954..b6ac4d5dd9f 100644 --- a/rs/moq-video/src/frame.rs +++ b/rs/moq-video/src/frame.rs @@ -2326,7 +2326,7 @@ pub mod d3d11 { pub(crate) fn resize(&self, width: u32, height: u32) -> Result { let source = Size::new(self.width, self.height); let target = Size::new(width, height); - let texture = process(&self.device, &self.texture, Plan::resize(source, target, self.color))?; + let texture = process(&self.device, &self.texture, Plan::resize(source, target, self.color)?)?; Ok(Self { device: self.device.clone(), texture,