aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-08 21:22:31 +0200
committerMax Kellermann <max@duempel.org>2009-10-08 21:22:31 +0200
commitd6a6f428b3f9ddc13492951e2ed1699def516214 (patch)
tree4f71b8d8fd787261be882a6d030aed1a838a990b /src/player_thread.c
parentfd3934b8492190254351130be2f0f4c923b08ac3 (diff)
downloadmpd-d6a6f428b3f9ddc13492951e2ed1699def516214.tar.gz
mpd-d6a6f428b3f9ddc13492951e2ed1699def516214.tar.xz
mpd-d6a6f428b3f9ddc13492951e2ed1699def516214.zip
player_control: eliminate PLAYER_COMMAND_PLAY
Sending PLAYER_COMMAND_STOP followed by PLAYER_COMMAND_QUEUE does the same. PLAYER_COMMAND_PLAY is redundant.
Diffstat (limited to 'src/player_thread.c')
-rw-r--r--src/player_thread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index b501937b6..412ae9b5e 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -347,7 +347,6 @@ static void player_process_command(struct player *player)
{
switch (pc.command) {
case PLAYER_COMMAND_NONE:
- case PLAYER_COMMAND_PLAY:
case PLAYER_COMMAND_STOP:
case PLAYER_COMMAND_EXIT:
case PLAYER_COMMAND_CLOSE_AUDIO:
@@ -773,7 +772,6 @@ static gpointer player_task(G_GNUC_UNUSED gpointer arg)
while (1) {
switch (pc.command) {
- case PLAYER_COMMAND_PLAY:
case PLAYER_COMMAND_QUEUE:
assert(pc.next_song != NULL);