]> git.nihav.org Git - nihav-player.git/commitdiff
videoplayer: introduce refresh command
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 4 Nov 2023 09:08:29 +0000 (10:08 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 4 Nov 2023 09:08:29 +0000 (10:08 +0100)
videoplayer/src/main.rs

index cabb925fb5e0ecd1dbcd6d7ecfcf8a7cc72b8d58..0ee3c1472033a2000b0f7dcf7d2630dfecb56f9b 100644 (file)
@@ -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)?; },