Skip to content

Commit

Permalink
fix native video decoder stub VideoDecoder
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Sep 11, 2024
1 parent ee42c8c commit 15ec3cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/viewer/re_renderer/src/video/decoder/native.rs
Original file line number Diff line number Diff line change
@@ -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,
};

Expand Down Expand Up @@ -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,
})
Expand Down

0 comments on commit 15ec3cf

Please sign in to comment.