diff options
author | metamuffin <metamuffin@disroot.org> | 2023-01-20 17:43:49 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-01-20 17:43:49 +0100 |
commit | fec515810c931d62194a3db876491fdf7d4cc64f (patch) | |
tree | 0115b43073bded7c9fb76f9af1cbb60d44c993ef /common/src | |
parent | 1e1c5a05ce8a62c32934e31228a0a9e5e073a6af (diff) | |
download | jellything-fec515810c931d62194a3db876491fdf7d4cc64f.tar jellything-fec515810c931d62194a3db876491fdf7d4cc64f.tar.bz2 jellything-fec515810c931d62194a3db876491fdf7d4cc64f.tar.zst |
redesigned player conf
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/impl.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/src/impl.rs b/common/src/impl.rs index c17f1ec..7be6911 100644 --- a/common/src/impl.rs +++ b/common/src/impl.rs @@ -14,17 +14,17 @@ impl std::fmt::Display for SourceTrack { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { let kspec = match &self.kind { SourceTrackKind::Video { width, height, fps } => { - format!("Video: {width}x{height}, {fps}fps, ") + format!("Video: {width}x{height} {fps}fps ") } SourceTrackKind::Audio { channels, sample_rate, bit_depth, - } => format!("Audio: {channels}ch, {sample_rate}Hz, {bit_depth}bits, "), + } => format!("Audio: {channels}ch {sample_rate}Hz {bit_depth}bits "), SourceTrackKind::Subtitles => format!("Subtitles: "), }; f.write_fmt(format_args!( - "{}, {:?}, {} ({})", + "{} {:?} {} ({})", kspec, self.name, self.language, self.codec )) } |