aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-25 13:44:27 +0100
committerMax Kellermann <max@duempel.org>2009-01-25 13:44:27 +0100
commitac0e799965afef198e3cba1eb11f018cae680ac3 (patch)
treed63667b1e2f26a4b1b29d1f2724fae7504a6ed0e /src/player_thread.c
parent2c45224be72e06463ddd48956ecaef61da9dfecb (diff)
downloadmpd-ac0e799965afef198e3cba1eb11f018cae680ac3.tar.gz
mpd-ac0e799965afef198e3cba1eb11f018cae680ac3.tar.xz
mpd-ac0e799965afef198e3cba1eb11f018cae680ac3.zip
decoder_control: added decoder_control.thread
decoder_control.thread contains the handle of the decoder thread, or NULL if the decoder thread isn't running.
Diffstat (limited to 'src/player_thread.c')
-rw-r--r--src/player_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index c5060fcb4..dc263b6ad 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -526,7 +526,7 @@ static gpointer player_task(G_GNUC_UNUSED gpointer arg)
break;
case PLAYER_COMMAND_EXIT:
- dc_quit(&pc.notify);
+ dc_quit();
closeAudioDevice();
player_command_finished();
g_thread_exit(NULL);