diff options
Diffstat (limited to 'common/src/jhls.rs')
-rw-r--r-- | common/src/jhls.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/common/src/jhls.rs b/common/src/jhls.rs index eadf9a2..33c67d2 100644 --- a/common/src/jhls.rs +++ b/common/src/jhls.rs @@ -3,20 +3,12 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2023 metamuffin <metamuffin.org> */ -use crate::SourceTrack; use serde::{Deserialize, Serialize}; use std::ops::Range; #[derive(Debug, Clone, Deserialize, Serialize)] -pub struct JhlsMetadata { - pub duration: f64, +pub struct JhlsTrackIndex { pub extra_profiles: Vec<EncodingProfile>, - pub tracks: Vec<JhlsTrack>, -} - -#[derive(Debug, Clone, Deserialize, Serialize)] -pub struct JhlsTrack { - pub info: SourceTrack, pub segments: Vec<Range<f64>>, } |