mirror of https://github.com/mpv-player/mpv
printf to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5932 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1a015fd22a
commit
4aaa9010c2
|
@ -205,7 +205,7 @@ int stream_enable_cache(stream_t *stream,int size,int min,int prefill){
|
|||
|
||||
if((stream->cache_pid=fork())){
|
||||
// wait until cache is filled at least prefill_init %
|
||||
printf("CACHE_PRE_INIT: %d [%d] %d pre:%d eof:%d \n",
|
||||
mp_msg(MSGT_CACHE,MSGL_V,"CACHE_PRE_INIT: %d [%d] %d pre:%d eof:%d \n",
|
||||
s->min_filepos,s->read_filepos,s->max_filepos,min,s->eof);
|
||||
while(s->read_filepos<s->min_filepos || s->max_filepos-s->read_filepos<min){
|
||||
mp_msg(MSGT_CACHE,MSGL_STATUS,"\rCache fill: %5.2f%% (%d bytes) ",
|
||||
|
|
Loading…
Reference in New Issue