diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-28 17:55:11 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-28 17:55:11 +0100 |
commit | 727be96686a2c6c5747b26be15933e11c9cab9c6 (patch) | |
tree | 817accf6c4965e814cc8736fdbd17b423fae0669 /common/src/lib.rs | |
parent | 5b587f2914908daa804bb643ac216001290077ab (diff) | |
download | jellything-727be96686a2c6c5747b26be15933e11c9cab9c6.tar jellything-727be96686a2c6c5747b26be15933e11c9cab9c6.tar.bz2 jellything-727be96686a2c6c5747b26be15933e11c9cab9c6.tar.zst |
clean up some code + subrip support?
Diffstat (limited to 'common/src/lib.rs')
-rw-r--r-- | common/src/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index 56d0d2e..8878edc 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -224,12 +224,14 @@ pub enum SourceTrackKind { Video { width: u64, height: u64, - fps: f64, + display_width: Option<u64>, + display_height: Option<u64>, + fps: Option<f64>, }, Audio { channels: usize, sample_rate: f64, - bit_depth: usize, + bit_depth: Option<usize>, }, Subtitles, } |