summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-23 15:30:36 +0100
committerwm4 <wm4@nowhere>2014-11-23 15:31:32 +0100
commit5bbd734fffde5f0d689216c07dfeb3508aeb1f57 (patch)
treebf5a2645d660cb1bc24214822de641e010ff4f52 /input
parent17ee2ca52444dec09713d62fb092d5df4b0d2b75 (diff)
downloadmpv-5bbd734fffde5f0d689216c07dfeb3508aeb1f57.tar.bz2
mpv-5bbd734fffde5f0d689216c07dfeb3508aeb1f57.tar.xz
command: don't queue framesteps
If repeated framestep commands are sent, just unpause the player, instead of playing N frames for N repeated commands.
Diffstat (limited to 'input')
-rw-r--r--input/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 7c647adef3..3a2bbbc4e5 100644
--- a/input/input.c
+++ b/input/input.c
@@ -537,6 +537,7 @@ static bool key_updown_ok(enum mp_command_type cmd)
{
switch (cmd) {
case MP_CMD_SCRIPT_BINDING:
+ case MP_CMD_FRAME_STEP:
return true;
default:
return false;