From 251216a552a57e84b53e993e671e62f9539a7610 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 7 Sep 2007 01:17:09 +0000 Subject: 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 --- src/decode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/decode.c b/src/decode.c index bf3e1cb25..ab255e3c6 100644 --- a/src/decode.c +++ b/src/decode.c @@ -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) { -- cgit v1.2.3