oops
git-svn-id: https://svn.musicpd.org/mpd/trunk@408 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
4a742801ab
commit
4b4438853c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue