diff options
author | wm4 <wm4@nowhere> | 2016-03-03 10:08:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-03-03 10:08:00 +0100 |
commit | 3a7563a99983279394f9a4973a45f12aeb07cf7c (patch) | |
tree | 1abea358512963bb5ae3f825eeff9be9fc49958f /stream | |
parent | a19307d598c515627192c752aa6d4341b88078c9 (diff) | |
download | mpv-3a7563a99983279394f9a4973a45f12aeb07cf7c.tar.bz2 mpv-3a7563a99983279394f9a4973a45f12aeb07cf7c.tar.xz |
cache: remove unused STREAM_CTRL_RESUME_CACHE
Went way with DVD/BD menu support.
Diffstat (limited to 'stream')
-rw-r--r-- | stream/cache.c | 4 | ||||
-rw-r--r-- | stream/stream.h | 1 |
2 files changed, 0 insertions, 5 deletions
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 |