diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-22 05:12:10 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-22 05:12:10 +0000 |
commit | c03b175452acfab485de9ad8aaf78f44cfdf3c91 (patch) | |
tree | 62d5b9fc960a9fbc2f01c11971d471bf8d1265a5 /libmpdemux/cache2.c | |
parent | 19935f69bd53ab35008d0a7359410609f882b9f7 (diff) | |
download | mpv-c03b175452acfab485de9ad8aaf78f44cfdf3c91.tar.bz2 mpv-c03b175452acfab485de9ad8aaf78f44cfdf3c91.tar.xz |
Part3 of Otvos Attila's oattila AT chello-hu mp_msg changes, with lots of modifications as usual
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18177 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/cache2.c')
-rw-r--r-- | libmpdemux/cache2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/cache2.c b/libmpdemux/cache2.c index 6fbf19c5f9..116bd2e9ff 100644 --- a/libmpdemux/cache2.c +++ b/libmpdemux/cache2.c @@ -64,8 +64,8 @@ int cache_fill_status=0; void cache_stats(cache_vars_t* s){ int newb=s->max_filepos-s->read_filepos; // new bytes in the buffer - printf("0x%06X [0x%06X] 0x%06X ",(int)s->min_filepos,(int)s->read_filepos,(int)s->max_filepos); - printf("%3d %% (%3d%%)\n",100*newb/s->buffer_size,100*min_fill/s->buffer_size); + mp_msg(MSGT_CACHE,MSGL_INFO,"0x%06X [0x%06X] 0x%06X ",(int)s->min_filepos,(int)s->read_filepos,(int)s->max_filepos); + mp_msg(MSGT_CACHE,MSGL_INFO,"%3d %% (%3d%%)\n",100*newb/s->buffer_size,100*min_fill/s->buffer_size); } int cache_read(cache_vars_t* s,unsigned char* buf,int size){ |