aboutsummaryrefslogtreecommitdiff
path: root/common/src/jhls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/jhls.rs')
-rw-r--r--common/src/jhls.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/jhls.rs b/common/src/jhls.rs
index f4448b6..12fa2d6 100644
--- a/common/src/jhls.rs
+++ b/common/src/jhls.rs
@@ -1,3 +1,4 @@
+use bincode::{Decode, Encode};
/*
This file is part of jellything (https://codeberg.org/metamuffin/jellything)
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
@@ -32,7 +33,7 @@ pub enum EncodingProfile {
},
}
-#[derive(Debug, Serialize, Deserialize)]
+#[derive(Debug, Serialize, Deserialize, Encode, Decode)]
pub struct SubtitleCue {
pub start: f64,
pub end: f64,