Index: mplayer.c =================================================================== RCS file: /cvsroot/mplayer/main/mplayer.c,v retrieving revision 1.731 diff -u -r1.731 mplayer.c --- mplayer.c 4 Oct 2003 01:24:50 -0000 1.731 +++ mplayer.c 12 Oct 2003 20:21:09 -0000 @@ -1324,6 +1324,7 @@ if(stream_dump_type==5){ unsigned char buf[4096]; + long double streamsize; int len; FILE *f; current_module="dumpstream"; @@ -1338,9 +1339,12 @@ mp_msg(MSGT_CPLAYER,MSGL_FATAL,MSGTR_CantOpenDumpfile); exit_player(MSGTR_Exit_error); } + streamsize=0; while(!stream->eof){ len=stream_read(stream,buf,4096); if(len>0) { + streamsize+=(long double)len; + mp_msg(MSGT_CPLAYER,MSGL_V,"Bytes written: %.0Lf\r",streamsize); if(fwrite(buf,len,1,f) != 1) { mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_ErrorWritingFile,stream_dump_name); exit_player(MSGTR_Exit_error);