From 15ec3cf301b438b0d320464f39d897d8a4e3cc30 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Wed, 11 Sep 2024 11:20:18 +0200 Subject: [PATCH] fix native video decoder stub VideoDecoder --- crates/viewer/re_renderer/src/video/decoder/native.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/viewer/re_renderer/src/video/decoder/native.rs b/crates/viewer/re_renderer/src/video/decoder/native.rs index a1e21add4de3..524ff8d13deb 100644 --- a/crates/viewer/re_renderer/src/video/decoder/native.rs +++ b/crates/viewer/re_renderer/src/video/decoder/native.rs @@ -1,8 +1,8 @@ #![allow(dead_code, unused_variables, clippy::unnecessary_wraps)] use crate::{ - renderer::video::{DecodingError, FrameDecodingResult}, resource_managers::GpuTexture2D, + video::{DecodingError, FrameDecodingResult}, RenderContext, }; @@ -33,7 +33,7 @@ impl VideoDecoder { data.config.coded_width as u32, data.config.coded_height as u32, ); - Some(Self { + Ok(Self { data, zeroed_texture, })