From 46fe19f1c0814fa3975f60dcdd17c1680b161c3c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 29 Jan 2024 20:20:42 +0100 Subject: caching subtitles --- common/src/jhls.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common') 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, -- cgit v1.2.3-70-g09d2