aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decode.c b/src/decode.c
index 3681e8025..180212d49 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -65,6 +65,7 @@ static void stopDecode(DecoderControl * dc)
if (decode_pid > 0 && (dc->start || dc->state != DECODE_STATE_STOP)) {
dc->stop = 1;
kill(decode_pid, SIGCONT);
+ signalNotify(&(getPlayerData()->buffer.notify));
while (decode_pid > 0 && dc->stop)
my_usleep(10000);
}
@@ -202,6 +203,7 @@ static int decodeSeek(PlayerControl * pc, DecoderControl * dc,
dc->seekError = 0;
dc->seek = 1;
kill(decode_pid, SIGCONT);
+ signalNotify(&(getPlayerData()->buffer.notify));
while (decode_pid > 0 && dc->seek)
my_usleep(10000);
if (!dc->seekError) {