aboutsummaryrefslogtreecommitdiff
path: root/transcoder
diff options
context:
space:
mode:
Diffstat (limited to 'transcoder')
-rw-r--r--transcoder/Cargo.toml1
-rw-r--r--transcoder/src/fragment.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/transcoder/Cargo.toml b/transcoder/Cargo.toml
index 06dc1aa..e0d81a6 100644
--- a/transcoder/Cargo.toml
+++ b/transcoder/Cargo.toml
@@ -26,3 +26,4 @@ imgref = "1.11.0"
ravif = "0.11.11"
tokio = { workspace = true }
serde = { version = "1.0.217", features = ["derive"] }
+winter-matroska = { git = "https://codeberg.org/metamuffin/ebml-rs", package = "matroska" }
diff --git a/transcoder/src/fragment.rs b/transcoder/src/fragment.rs
index fc5fb21..4cd8b6f 100644
--- a/transcoder/src/fragment.rs
+++ b/transcoder/src/fragment.rs
@@ -14,6 +14,7 @@ use tokio::{
io::copy,
process::{ChildStdin, Command},
};
+use winter_matroska::TrackEntry as MatroskaTrackEntry;
// TODO odd video resolutions can cause errors when transcoding to YUV42{0,2}
// TODO with an implementation that cant handle it (SVT-AV1 is such an impl).