1
mirror of https://github.com/mpv-player/mpv synced 2025-01-16 22:37:28 +01:00

cache: Move cache_fill_status extern declaration to cache2.h

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32120 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-09-09 16:54:35 +00:00 committed by Uoti Urpala
parent 62112dedb0
commit 77fb7376e4
3 changed files with 2 additions and 6 deletions

View File

@ -116,12 +116,8 @@ int forced_subs_only=0;
// cache2: // cache2:
int stream_cache_size=-1; int stream_cache_size=-1;
#ifdef CONFIG_STREAM_CACHE #ifdef CONFIG_STREAM_CACHE
extern int cache_fill_status;
float stream_cache_min_percent=20.0; float stream_cache_min_percent=20.0;
float stream_cache_seek_min_percent=50.0; float stream_cache_seek_min_percent=50.0;
#else
#define cache_fill_status 0
#endif #endif
int vobsub_id=-1; int vobsub_id=-1;

View File

@ -320,8 +320,6 @@ int file_filter=1;
// cache2: // cache2:
int stream_cache_size=-1; int stream_cache_size=-1;
#ifdef CONFIG_STREAM_CACHE #ifdef CONFIG_STREAM_CACHE
extern int cache_fill_status;
float stream_cache_min_percent=20.0; float stream_cache_min_percent=20.0;
float stream_cache_seek_min_percent=50.0; float stream_cache_seek_min_percent=50.0;
#else #else

View File

@ -21,6 +21,8 @@
#include "stream.h" #include "stream.h"
extern int cache_fill_status;
void cache_uninit(stream_t *s); void cache_uninit(stream_t *s);
int cache_do_control(stream_t *stream, int cmd, void *arg); int cache_do_control(stream_t *stream, int cmd, void *arg);