aboutsummaryrefslogtreecommitdiff
path: root/common/src/lib.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-10-02 20:02:06 +0200
committermetamuffin <metamuffin@disroot.org>2023-10-02 20:02:06 +0200
commite25beb3e0c2531b09d8efd70e858396dcc631dd2 (patch)
tree917189b7e5e5363c830fbdabcb416e16623a6438 /common/src/lib.rs
parent839c1e1490e7cd856e6ada1dcfd82f3d4505c89c (diff)
downloadjellything-e25beb3e0c2531b09d8efd70e858396dcc631dd2.tar
jellything-e25beb3e0c2531b09d8efd70e858396dcc631dd2.tar.bz2
jellything-e25beb3e0c2531b09d8efd70e858396dcc631dd2.tar.zst
add profiles to jhls
Diffstat (limited to 'common/src/lib.rs')
-rw-r--r--common/src/lib.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs
index 6d1a78c..c425c21 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -142,22 +142,3 @@ pub enum SourceTrackKind {
},
Subtitles,
}
-
-#[derive(Debug, Clone, Deserialize, Serialize)]
-#[serde(rename_all = "snake_case")]
-pub enum EncodingProfile {
- Video {
- codec: String,
- preset: u8,
- bitrate: usize,
- width: usize,
- },
- Audio {
- codec: String,
- bitrate: usize,
- sample_rate: Option<f64>,
- },
- Subtitles {
- codec: String,
- },
-}