git-svn-id: https://svn.musicpd.org/mpd/trunk@408 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-03-22 23:38:09 +00:00
parent 4a742801ab
commit 4b4438853c
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ void decodeSeek(PlayerControl * pc, AudioFormat * af, DecoderControl * dc,
dc->seek = 1; dc->seek = 1;
pc->bitRate = 0; pc->bitRate = 0;
while(*decode_pid>0 && dc->seek) usleep(1000); while(*decode_pid>0 && dc->seek) usleep(1000);
if(dc->seekError) pc->elapsedTime = dc->seekWhere; if(!dc->seekError) pc->elapsedTime = dc->seekWhere;
} }
} }
pc->seek = 0; pc->seek = 0;