diff options
author | metamuffin <metamuffin@disroot.org> | 2025-04-27 20:00:44 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-04-27 20:00:44 +0200 |
commit | 335ba978dbaf203f3603a815147fd75dbf205723 (patch) | |
tree | 57f7959b6f81ad469ddd3062f2e43f88670a08e4 /common | |
parent | 11a585b3dbe620dcc8772e713b22f1d9ba80d598 (diff) | |
download | jellything-335ba978dbaf203f3603a815147fd75dbf205723.tar jellything-335ba978dbaf203f3603a815147fd75dbf205723.tar.bz2 jellything-335ba978dbaf203f3603a815147fd75dbf205723.tar.zst |
move cache to own crate
Diffstat (limited to 'common')
-rw-r--r-- | common/src/config.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/common/src/config.rs b/common/src/config.rs index e2f4e62..5dc2d14 100644 --- a/common/src/config.rs +++ b/common/src/config.rs @@ -28,26 +28,6 @@ pub struct GlobalConfig { pub login_expire: i64, #[serde(default)] pub default_permission_set: PermissionSet, - #[serde(default)] - pub transcoder: TranscoderConfig, -} - -#[rustfmt::skip] -#[derive(Debug, Deserialize, Serialize, Default)] -pub struct TranscoderConfig { - #[serde(default)] pub offer_avc: bool, - #[serde(default)] pub offer_hevc: bool, - #[serde(default)] pub offer_vp8: bool, - #[serde(default)] pub offer_vp9: bool, - #[serde(default)] pub offer_av1: bool, - #[serde(default)] pub enable_rkmpp: bool, - #[serde(default)] pub enable_rkrga: bool, - #[serde(default)] pub use_svtav1: bool, - #[serde(default)] pub use_rav1e: bool, - pub svtav1_preset: Option<u8>, // 0..=13, high is fast - pub rav1e_preset: Option<u8>, // 0..=10 - pub aom_preset: Option<u8>, // 0..=8, high is fast - pub x264_preset: Option<String>, } #[derive(Serialize, Deserialize, Debug, Default)] |