printf to mp_msg

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5932 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2002-05-02 10:28:33 +00:00
parent 1a015fd22a
commit 4aaa9010c2
1 changed files with 1 additions and 1 deletions

View File

@ -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) ",