diff options
author | Max Kellermann <max@duempel.org> | 2013-01-10 09:58:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-10 10:01:24 +0100 |
commit | 18076ac9b766485efc45931e62a164e5cc1a8542 (patch) | |
tree | 111b228b929dff89978807e638afcba3897210b2 /src/PlayerThread.cxx | |
parent | ad15ca7104ca299c87b6ac86441573a00c589fef (diff) | |
download | mpd-18076ac9b766485efc45931e62a164e5cc1a8542.tar.gz mpd-18076ac9b766485efc45931e62a164e5cc1a8542.tar.xz mpd-18076ac9b766485efc45931e62a164e5cc1a8542.zip |
PlayerThread: use pc.cond instead of main_cond
The main_cond variable was completely unnecessary. The pc.cond object
can be used for both main->pc and pc->main.
Diffstat (limited to 'src/PlayerThread.cxx')
-rw-r--r-- | src/PlayerThread.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx index 31a9a2a8a..775e53ef7 100644 --- a/src/PlayerThread.cxx +++ b/src/PlayerThread.cxx @@ -147,7 +147,7 @@ player_command_finished_locked(struct player_control *pc) assert(pc->command != PLAYER_COMMAND_NONE); pc->command = PLAYER_COMMAND_NONE; - g_cond_signal(main_cond); + g_cond_signal(pc->cond); } static void |