summaryrefslogtreecommitdiffstats
path: root/stream/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/cache.c')
-rw-r--r--stream/cache.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/cache.c b/stream/cache.c
index bbfd042178..65b2c86b51 100644
--- a/stream/cache.c
+++ b/stream/cache.c
@@ -373,6 +373,10 @@ static int cache_get_cached_control(stream_t *cache, int cmd, void *arg)
}
return STREAM_UNSUPPORTED;
}
+ case STREAM_CTRL_RESUME_CACHE:
+ s->idle = s->eof = false;
+ pthread_cond_signal(&s->wakeup);
+ return STREAM_OK;
}
return STREAM_ERROR;
}