aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-12-24 04:24:32 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-12-24 04:24:32 +0000
commitab789982d3a0dbc6d7df9873d0d33c33535bc87f (patch)
tree46777210a6a3ffe91eef370c069602cf7f9cb112 /src
parent9bdb0b0df2f5b5e8cae7a8c1696f9506f58e0e04 (diff)
downloadmpd-ab789982d3a0dbc6d7df9873d0d33c33535bc87f.tar.gz
mpd-ab789982d3a0dbc6d7df9873d0d33c33535bc87f.tar.xz
mpd-ab789982d3a0dbc6d7df9873d0d33c33535bc87f.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/decode.c1
1 files changed, 0 insertions, 1 deletions
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;