aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-04-16 00:09:35 +0200
committermetamuffin <metamuffin@disroot.org>2025-04-16 00:09:35 +0200
commit39dee6820db4581fa41cfac8bcfdd399a96f5319 (patch)
treec605156a6757e5623fae36635722758947e0db65 /common
parent50dc0e7bea02d7fc5b38edb7f943e19bd8c0285b (diff)
downloadjellything-39dee6820db4581fa41cfac8bcfdd399a96f5319.tar
jellything-39dee6820db4581fa41cfac8bcfdd399a96f5319.tar.bz2
jellything-39dee6820db4581fa41cfac8bcfdd399a96f5319.tar.zst
transcode impl but broken
Diffstat (limited to 'common')
-rw-r--r--common/src/stream.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/stream.rs b/common/src/stream.rs
index ba91ff5..55f2f49 100644
--- a/common/src/stream.rs
+++ b/common/src/stream.rs
@@ -209,7 +209,7 @@ impl Display for StreamContainer {
StreamContainer::Matroska => "matroska",
StreamContainer::WebVTT => "webvtt",
StreamContainer::JVTT => "jvtt",
- StreamContainer::MPEG4 => "mp4",
+ StreamContainer::MPEG4 => "mpeg4",
})
}
}
@@ -221,7 +221,7 @@ impl FromStr for StreamContainer {
"matroska" => StreamContainer::Matroska,
"webvtt" => StreamContainer::WebVTT,
"jvtt" => StreamContainer::JVTT,
- "mp4" => StreamContainer::MPEG4,
+ "mpeg4" => StreamContainer::MPEG4,
_ => return Err(()),
})
}