summaryrefslogtreecommitdiffstats
path: root/stream/cache2.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-01-26 21:48:15 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-02-15 18:35:34 +0200
commitba3dab46397aa2f65f7678bce88d7bf08fdb6514 (patch)
treefb4a8623d2ecbdd4b5ff2809e854211d8ecc4f60 /stream/cache2.h
parent398643d0d712974c132822d97c51615a16f4f1b8 (diff)
downloadmpv-ba3dab46397aa2f65f7678bce88d7bf08fdb6514.tar.bz2
mpv-ba3dab46397aa2f65f7678bce88d7bf08fdb6514.tar.xz
terminal output: show cache fill changes in "PAUSED" message
Convert cache_fill_status into a function so we always get the latest state, not whatever it was after the last read. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32818 b3059339-0415-0410-9bf9-f77b7e298cf2 Update PAUSED status line with cache fill status if it changed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32819 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/cache2.h')
-rw-r--r--stream/cache2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/cache2.h b/stream/cache2.h
index 2e6a4e0dbb..9c98193f0c 100644
--- a/stream/cache2.h
+++ b/stream/cache2.h
@@ -21,9 +21,8 @@
#include "stream.h"
-extern int cache_fill_status;
-
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 */