command: don't queue framesteps

If repeated framestep commands are sent, just unpause the player, instead
of playing N frames for N repeated commands.
This commit is contained in:
wm4
2014-11-23 15:30:36 +01:00
parent 17ee2ca524
commit 5bbd734fff
2 changed files with 15 additions and 1 deletions

View File

@@ -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;