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,