mirror of
https://github.com/mpv-player/mpv
synced 2025-02-28 03:10:55 +00:00
cache: remove unused STREAM_CTRL_RESUME_CACHE
Went way with DVD/BD menu support.
This commit is contained in:
parent
a19307d598
commit
3a7563a999
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user