From: Kostya Shishkov Date: Sat, 4 Nov 2023 09:08:29 +0000 (+0100) Subject: videoplayer: introduce refresh command X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=e678289fd98b3f07e27189bc0cbe940cb493370b;p=nihav-player.git videoplayer: introduce refresh command --- diff --git a/videoplayer/src/main.rs b/videoplayer/src/main.rs index cabb925..0ee3c14 100644 --- a/videoplayer/src/main.rs +++ b/videoplayer/src/main.rs @@ -535,6 +535,7 @@ impl Player { return Ok(true); }, Keycode::Return | Keycode::KpEnter => return Ok(true), + Keycode::R => { self.seek(0, true, dmx, disp_queue)?; }, Keycode::Right => { self.seek(10, true, dmx, disp_queue)?; }, Keycode::Left => { self.seek(10, false, dmx, disp_queue)?; }, Keycode::Up => { self.seek(60, true, dmx, disp_queue)?; },