From 28b9723fcc1eb0243c62755604c1f355e1b27ab6 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Fri, 22 Nov 2024 21:33:44 -0800 Subject: [PATCH] Big oops --- Cargo.toml | 2 +- src/video/decoder.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ad5c8a1..23b1fd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Luke Curley"] repository = "https://github.com/kixelated/web-codecs-rs" license = "MIT OR Apache-2.0" -version = "0.3.0" +version = "0.3.1" edition = "2021" categories = ["wasm", "multimedia", "web-programming", "api-bindings"] diff --git a/src/video/decoder.rs b/src/video/decoder.rs index 6628409..cfe9e92 100644 --- a/src/video/decoder.rs +++ b/src/video/decoder.rs @@ -5,7 +5,7 @@ use wasm_bindgen::prelude::*; use super::VideoColorSpaceConfig; use crate::{EncodedFrame, Error, VideoFrame}; -pub fn decoder() -> (VideoDecoder, VideoDecoded) { +pub fn video_decoder() -> (VideoDecoder, VideoDecoded) { let (frames_tx, frames_rx) = mpsc::unbounded_channel(); let (closed_tx, closed_rx) = watch::channel(Ok(())); let closed_tx2 = closed_tx.clone();