aboutsummaryrefslogtreecommitdiff
path: root/common/src/jhls.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-26 03:46:05 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-26 03:46:05 +0100
commit2e41b2b373d5a057061a7694aa5e83001efeaf0f (patch)
treefd9c82fcaf7a8100698b162f9c21ba1852becc88 /common/src/jhls.rs
parent9918784ba0b71b406e98e069a4e2be10bf72f02e (diff)
downloadjellything-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/jhls.rs')
-rw-r--r--common/src/jhls.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/src/jhls.rs b/common/src/jhls.rs
index b365b3f..f4448b6 100644
--- a/common/src/jhls.rs
+++ b/common/src/jhls.rs
@@ -31,3 +31,10 @@ pub enum EncodingProfile {
codec: String,
},
}
+
+#[derive(Debug, Serialize, Deserialize)]
+pub struct SubtitleCue {
+ pub start: f64,
+ pub end: f64,
+ pub content: String,
+}