diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-26 03:46:05 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-26 03:46:05 +0100 |
commit | 2e41b2b373d5a057061a7694aa5e83001efeaf0f (patch) | |
tree | fd9c82fcaf7a8100698b162f9c21ba1852becc88 /common/src/stream.rs | |
parent | 9918784ba0b71b406e98e069a4e2be10bf72f02e (diff) | |
download | jellything-2e41b2b373d5a057061a7694aa5e83001efeaf0f.tar jellything-2e41b2b373d5a057061a7694aa5e83001efeaf0f.tar.bz2 jellything-2e41b2b373d5a057061a7694aa5e83001efeaf0f.tar.zst |
fix a bunch of stupid things regarding subtitles. still doesnt work
Diffstat (limited to 'common/src/stream.rs')
-rw-r--r-- | common/src/stream.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/src/stream.rs b/common/src/stream.rs index 151d497..aa7195e 100644 --- a/common/src/stream.rs +++ b/common/src/stream.rs @@ -30,6 +30,7 @@ pub enum StreamFormat { #[cfg_attr(feature = "rocket", field(value = "jhlsi"))] JhlsIndex, #[cfg_attr(feature = "rocket", field(value = "snippet"))] Snippet, #[cfg_attr(feature = "rocket", field(value = "webvtt"))] Webvtt, + #[cfg_attr(feature = "rocket", field(value = "jvtt"))] Jvtt, } impl Default for StreamSpec { @@ -78,6 +79,7 @@ impl StreamSpec { impl StreamFormat { pub fn ident(&self) -> &'static str { match self { + StreamFormat::Jvtt => "jvtt", StreamFormat::Original => "original", StreamFormat::Matroska => "matroska", StreamFormat::HlsMaster => "hlsmaster", |