summaryrefslogtreecommitdiff
path: root/src/playerData.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-01 11:18:25 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-01 11:18:25 +0000
commitfe0b751c8278ab07a350cd4d363743b734f4f830 (patch)
tree288ce38c0401ed60f416da239c94654df4413657 /src/playerData.c
parent187eba5754ddc99f5105fe2edac9c817fd2f7561 (diff)
ogg voribs comment parsing on the fly in the decoder
git-svn-id: https://svn.musicpd.org/mpd/trunk@1279 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playerData.c')
-rw-r--r--src/playerData.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/playerData.c b/src/playerData.c
index d78a208b4..2dbdace0d 100644
--- a/src/playerData.c
+++ b/src/playerData.c
@@ -118,6 +118,8 @@ void initPlayerData() {
playerData_pd->playerControl.totalPlayTime = 0;
playerData_pd->playerControl.decode_pid = 0;
playerData_pd->playerControl.title = -1;
+ playerData_pd->playerControl.artist = -1;
+ playerData_pd->playerControl.album = -1;
playerData_pd->playerControl.metadataState =
PLAYER_METADATA_STATE_WRITE;
@@ -130,6 +132,8 @@ void initPlayerData() {
memset(playerData_pd->decoderControl.metadata, 0,
DECODE_METADATA_LENGTH);
playerData_pd->decoderControl.title = -1;
+ playerData_pd->decoderControl.artist = -1;
+ playerData_pd->decoderControl.album = -1;
playerData_pd->decoderControl.metadataSet = 0;
}