From ab789982d3a0dbc6d7df9873d0d33c33535bc87f Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Sun, 24 Dec 2006 04:24:32 +0000 Subject: Do not set metadataState to PLAYER_METADATA_STATE_READ when decoding stops. This fixes a bug where streams that won't play somehow appear with the metadata of a previously played stream. As far as I can tell, the only reason this is done is to sync any buffered metadata with the displayed metadata when decoding stops, so there should be no other adverse effects. git-svn-id: https://svn.musicpd.org/mpd/trunk@5161 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/decode.c b/src/decode.c index 153ad003b..bef27cd45 100644 --- a/src/decode.c +++ b/src/decode.c @@ -76,7 +76,6 @@ static void stopDecode(DecoderControl * dc) static void quitDecode(PlayerControl * pc, DecoderControl * dc) { stopDecode(dc); - pc->metadataState = PLAYER_METADATA_STATE_READ; pc->state = PLAYER_STATE_STOP; dc->seek = 0; pc->play = 0; -- cgit v1.2.3