From b68ad41289dbbf4dac6b56f8b0a9a49ee7f47417 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 4 Oct 2023 10:32:22 +0200 Subject: add more params to transcoding profile --- common/src/jhls.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common/src/jhls.rs') diff --git a/common/src/jhls.rs b/common/src/jhls.rs index e3ef23c..fe3ffa0 100644 --- a/common/src/jhls.rs +++ b/common/src/jhls.rs @@ -20,13 +20,14 @@ pub struct JhlsTrack { pub enum EncodingProfile { Video { codec: String, - preset: u8, + preset: Option, bitrate: usize, - width: usize, + width: Option, }, Audio { codec: String, bitrate: usize, + channels: Option, sample_rate: Option, }, Subtitles { -- cgit v1.2.3-70-g09d2