From: Kostya Shishkov Date: Tue, 16 Jun 2026 04:53:47 +0000 (+0200) Subject: videoplayer: do not complain about seek errors in quiet mode X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=1b61165d75cd42d25f00e39f1f0fd5c8188b6c91;p=nihav-player.git videoplayer: do not complain about seek errors in quiet mode --- diff --git a/videoplayer/src/main.rs b/videoplayer/src/main.rs index 9f2255d..da6878f 100644 --- a/videoplayer/src/main.rs +++ b/videoplayer/src/main.rs @@ -525,7 +525,9 @@ impl Player { let ret = dmx.seek(NATimePoint::Milliseconds(seektime)); if ret.is_err() { - println!(" seek error"); + if !self.quiet { + println!(" seek error"); + } return Ok(()); //TODO: not ignore some of seek errors? }