decode: fix seek when paused
We need to SIGCONT the decoder process to allow for seeking while paused. git-svn-id: https://svn.musicpd.org/mpd/trunk@6864 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
45c9989849
commit
251216a552
@ -208,6 +208,7 @@ static int decodeSeek(PlayerControl * pc, DecoderControl * dc,
|
||||
dc->seekWhere = 0 > dc->seekWhere ? 0 : dc->seekWhere;
|
||||
dc->seekError = 0;
|
||||
dc->seek = 1;
|
||||
kill(decode_pid, SIGCONT);
|
||||
while (decode_pid > 0 && dc->seek)
|
||||
my_usleep(10000);
|
||||
if (!dc->seekError) {
|
||||
|
Loading…
Reference in New Issue
Block a user