From 3a7563a99983279394f9a4973a45f12aeb07cf7c Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 3 Mar 2016 10:08:00 +0100 Subject: cache: remove unused STREAM_CTRL_RESUME_CACHE Went way with DVD/BD menu support. --- stream/cache.c | 4 ---- stream/stream.h | 1 - 2 files changed, 5 deletions(-) (limited to 'stream') diff --git a/stream/cache.c b/stream/cache.c index 8c18d18b1a..8421a6fc33 100644 --- a/stream/cache.c +++ b/stream/cache.c @@ -409,10 +409,6 @@ 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; case STREAM_CTRL_AVSEEK: if (!s->has_avseek) return STREAM_UNSUPPORTED; diff --git a/stream/stream.h b/stream/stream.h index ab37c3b4bd..c75bb495e4 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -71,7 +71,6 @@ enum stream_ctrl { STREAM_CTRL_SET_CACHE_SIZE, STREAM_CTRL_GET_CACHE_FILL, STREAM_CTRL_GET_CACHE_IDLE, - STREAM_CTRL_RESUME_CACHE, STREAM_CTRL_SET_READAHEAD, // stream_memory.c -- cgit v1.2.3