Skip to content

Commit

Permalink
Make the seek command not start playing when the player was stopped.
Browse files Browse the repository at this point in the history
Seeking when the player is paused moves the position without
unpausing. This makes seeking when the player is stopped work in a
similar way.
  • Loading branch information
dkagedal authored and flyingmutant committed May 4, 2016
1 parent f97d306 commit 6506fe4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ Boris Timofeev <[email protected]>

Yue Wang <[email protected]>
CoreAudio plugin

Google Inc.
2 changes: 1 addition & 1 deletion command_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ static void cmd_seek(char *arg)
}

if (!*arg) {
player_seek(seek, relative, 1);
player_seek(seek, relative, 0);
return;
}
err:
Expand Down

0 comments on commit 6506fe4

Please sign in to comment.