]> git.nihav.org Git - nihav-player.git/commitdiff
videoplayer: add missing space between integer and fraction part of FPS
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 1 Feb 2026 17:00:40 +0000 (18:00 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 1 Feb 2026 17:00:40 +0000 (18:00 +0100)
videoplayer/src/main.rs

index 59d09eb9e64a27851f3e4983f3f26988ee84fc92..bbddf9b6626fdbcd8ee7b85e964db9b64be09cb8 100644 (file)
@@ -214,6 +214,7 @@ fn format_stream_info(num: usize, stream: &NAStream) -> String {
                 } else if tb_num < 100 {
                     if inum > 0 {
                         ret += inum.to_string().as_str();
+                        ret.push(' ');
                     }
                     ret += format!("{}/{tb_num}", tb_den % tb_num).as_str();
                 } else {