From e678289fd98b3f07e27189bc0cbe940cb493370b Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 4 Nov 2023 10:08:29 +0100 Subject: [PATCH] videoplayer: introduce refresh command --- videoplayer/src/main.rs | 1 + 1 file changed, 1 insertion(+) 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)?; }, -- 2.39.5