changeset 5931:95c14d5dbb22

printf to mp_msg
author albeu
date Thu, 02 May 2002 10:28:33 +0000
parents 68cac7ecaf05
children 1ebeebca86f3
files libmpdemux/cache2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/cache2.c	Thu May 02 10:25:48 2002 +0000
+++ b/libmpdemux/cache2.c	Thu May 02 10:28:33 2002 +0000
@@ -205,7 +205,7 @@
   
   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)    ",