Reporting number of pending bytes while thanking for patience in -vvv mode
This commit is contained in:
parent
76a4c0ac44
commit
d118b82a13
@ -5838,7 +5838,7 @@ int Cdrskin_burn_pacifier(struct CdrskiN *skin,
|
|||||||
double estim_time,estim_minutes,estim_seconds,percent;
|
double estim_time,estim_minutes,estim_seconds,percent;
|
||||||
int ret,fifo_percent,fill,space,advance_interval=0,new_mb,old_mb,time_to_tell;
|
int ret,fifo_percent,fill,space,advance_interval=0,new_mb,old_mb,time_to_tell;
|
||||||
int fs,bs,old_track_idx,buffer_fill,formatting= 0,use_data_image_size;
|
int fs,bs,old_track_idx,buffer_fill,formatting= 0,use_data_image_size;
|
||||||
char fifo_text[80],mb_text[40];
|
char fifo_text[80],mb_text[40], pending[40];
|
||||||
char *debug_mark= ""; /* use this to prepend a marker text for experiments */
|
char *debug_mark= ""; /* use this to prepend a marker text for experiments */
|
||||||
|
|
||||||
/* for debugging */
|
/* for debugging */
|
||||||
@ -5944,9 +5944,12 @@ thank_you_for_patience:;
|
|||||||
if(skin->verbosity>=Cdrskin_verbose_progresS) {
|
if(skin->verbosity>=Cdrskin_verbose_progresS) {
|
||||||
if(skin->is_writing)
|
if(skin->is_writing)
|
||||||
fprintf(stderr,"\n");
|
fprintf(stderr,"\n");
|
||||||
|
pending[0]= 0;
|
||||||
|
if(bytes_to_write > 0 && skin->verbosity >= Cdrskin_verbose_debuG)
|
||||||
|
sprintf(pending, " pnd %.f", bytes_to_write - written_total_bytes);
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\rcdrskin: thank you for being patient for %.f seconds ",
|
"\rcdrskin: thank you for being patient for %.f seconds%21.21s",
|
||||||
elapsed_total_time);
|
elapsed_total_time, pending);
|
||||||
}
|
}
|
||||||
advance_interval= 1;
|
advance_interval= 1;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2009.11.11.100714"
|
#define Cdrskin_timestamP "2009.11.11.100822"
|
||||||
|
Loading…
Reference in New Issue
Block a user