diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-20 00:08:22 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-20 00:08:22 +0000 |
commit | 70d439736672922f4897f7b5b5e1a21dfae83040 (patch) | |
tree | b267f69279ed472ee63b49b0fe51141ae3936a81 /src/decode.c | |
parent | a81573ef059ac9f006ea438574b1b7ff751ba55d (diff) | |
download | mpd-70d439736672922f4897f7b5b5e1a21dfae83040.tar.gz mpd-70d439736672922f4897f7b5b5e1a21dfae83040.tar.xz mpd-70d439736672922f4897f7b5b5e1a21dfae83040.zip |
some fixes for non-blocking seek :-)
git-svn-id: https://svn.musicpd.org/mpd/trunk@1100 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/decode.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c index af5ca2c21..e3f13fada 100644 --- a/src/decode.c +++ b/src/decode.c @@ -410,7 +410,10 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) { processDecodeInput(); handleDecodeStart(); if(!dc->seek && seeking) { - if(dc->seekChunk >= 0) cb->begin = dc->seekChunk; + if(dc->seekChunk >= 0) { + cb->begin = dc->seekChunk; + cb->wrap = 0; + } seeking = 0; } if(dc->state==DECODE_STATE_STOP && |