aboutsummaryrefslogtreecommitdiffstats
path: root/src/playerData.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-02-27 22:25:06 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-02-27 22:25:06 +0000
commit8b19235b6113d869fba1239ac4d1406d6d7310b8 (patch)
tree8812c98d678e1ebc53072dfb707a11214a344afc /src/playerData.c
parentad4246d6cb9249c1bd3865d5619d57ae0d5fd8cd (diff)
downloadmpd-8b19235b6113d869fba1239ac4d1406d6d7310b8.tar.gz
mpd-8b19235b6113d869fba1239ac4d1406d6d7310b8.tar.xz
mpd-8b19235b6113d869fba1239ac4d1406d6d7310b8.zip
put decode_pid in shared mem, so if player process dies, the master
can still kill the decode process. git-svn-id: https://svn.musicpd.org/mpd/trunk@107 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/playerData.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/playerData.c b/src/playerData.c
index 4a95f1d8d..7e02bbb2f 100644
--- a/src/playerData.c
+++ b/src/playerData.c
@@ -107,6 +107,7 @@ void initPlayerData() {
playerData_pd->playerControl.crossFade = crossfade;
playerData_pd->playerControl.softwareVolume = 100;
playerData_pd->playerControl.totalPlayTime = 0;
+ playerData_pd->playerControl.decode_pid = 0;
playerData_pd->decoderControl.stop = 0;
playerData_pd->decoderControl.start = 0;