mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +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:
parent
62112dedb0
commit
77fb7376e4
@ -116,12 +116,8 @@ int forced_subs_only=0;
|
||||
// cache2:
|
||||
int stream_cache_size=-1;
|
||||
#ifdef CONFIG_STREAM_CACHE
|
||||
extern int cache_fill_status;
|
||||
|
||||
float stream_cache_min_percent=20.0;
|
||||
float stream_cache_seek_min_percent=50.0;
|
||||
#else
|
||||
#define cache_fill_status 0
|
||||
#endif
|
||||
|
||||
int vobsub_id=-1;
|
||||
|
@ -320,8 +320,6 @@ int file_filter=1;
|
||||
// cache2:
|
||||
int stream_cache_size=-1;
|
||||
#ifdef CONFIG_STREAM_CACHE
|
||||
extern int cache_fill_status;
|
||||
|
||||
float stream_cache_min_percent=20.0;
|
||||
float stream_cache_seek_min_percent=50.0;
|
||||
#else
|
||||
|
@ -21,6 +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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user