diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-02-27 22:25:06 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-02-27 22:25:06 +0000 |
commit | 8b19235b6113d869fba1239ac4d1406d6d7310b8 (patch) | |
tree | 8812c98d678e1ebc53072dfb707a11214a344afc /src/playerData.c | |
parent | ad4246d6cb9249c1bd3865d5619d57ae0d5fd8cd (diff) | |
download | mpd-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.c | 1 |
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; |