Index: mplayer.c =================================================================== RCS file: /cvsroot/mplayer/main/mplayer.c,v retrieving revision 1.725 diff -u -r1.725 mplayer.c --- mplayer.c 29 Aug 2003 21:41:03 -0000 1.725 +++ mplayer.c 21 Sep 2003 18:03:47 -0000 @@ -1309,6 +1309,7 @@ #endif if(stream_dump_type==5){ + unsigned long filesize=0; unsigned char buf[4096]; int len; FILE *f; @@ -1327,12 +1328,15 @@ while(!stream->eof){ len=stream_read(stream,buf,4096); if(len>0) { + filesize+=(long)len; if(fwrite(buf,len,1,f) != 1) { mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_ErrorWritingFile,stream_dump_name); exit_player(MSGTR_Exit_error); } + mp_msg(MSGT_CPLAYER,MSGL_V,"Bytes written: %ld\r",filesize); } } + mp_msg(MSGT_CPLAYER,MSGL_V,"\n"); if(fclose(f)) { mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_ErrorWritingFile,stream_dump_name); exit_player(MSGTR_Exit_error);