diff options
author | wm4 <wm4@nowhere> | 2012-12-01 23:28:58 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-12-03 21:08:51 +0100 |
commit | 6294c785490be5fc31d29758ca592510fd161371 (patch) | |
tree | a03c9135534f28cf7e9a62abcde87c65eb54eeaa /stream/cache2.h | |
parent | 2d58234c86e59298de52fec12d1eb59086d68763 (diff) | |
download | mpv-6294c785490be5fc31d29758ca592510fd161371.tar.bz2 mpv-6294c785490be5fc31d29758ca592510fd161371.tar.xz |
cache: simplify further
This commit is separate from the previous one to separate our own
changes from changes merged from mplayer2 (as far as that was possible).
Make it easier for stream implementations to request being cached. Set
a default cache size in stream.c, and remove them from various stream
implementations. Only MS streaming support sets a meaningful cache size.
Make querying cache size saner. This reduces the amount of #ifdefs
needed.
Diffstat (limited to 'stream/cache2.h')
-rw-r--r-- | stream/cache2.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/cache2.h b/stream/cache2.h index 9c98193f0c..330558333e 100644 --- a/stream/cache2.h +++ b/stream/cache2.h @@ -23,6 +23,5 @@ void cache_uninit(stream_t *s); int cache_do_control(stream_t *stream, int cmd, void *arg); -int cache_fill_status(stream_t *s); #endif /* MPLAYER_CACHE2_H */ |