Bug fix: Minimum drive buffer fill was measured before the buffer could get full
This commit is contained in:
parent
720dc2406c
commit
9343e1dd95
@ -3148,7 +3148,7 @@ set_severities:;
|
||||
int major, minor, micro;
|
||||
|
||||
printf(
|
||||
"Cdrecord 2.01a27 Emulation. Copyright (C) 2006-2013, see libburnia-project.org\n");
|
||||
"Cdrecord 2.01a27 Emulation. Copyright (C) 2006-2014, see libburnia-project.org\n");
|
||||
if(o->fallback_program[0]) {
|
||||
char *hargv[2];
|
||||
|
||||
@ -6692,6 +6692,7 @@ thank_you_for_patience:;
|
||||
buffer_fill= (double) (p->buffer_capacity - p->buffer_available)*100.0
|
||||
/ (double) p->buffer_capacity;
|
||||
|
||||
if(p->buffered_bytes > p->buffer_capacity)
|
||||
if(buffer_fill < *min_buffer_fill)
|
||||
*min_buffer_fill= buffer_fill;
|
||||
|
||||
|
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2014.03.17.221810"
|
||||
#define Cdrskin_timestamP "2014.04.06.111004"
|
||||
|
Loading…
Reference in New Issue
Block a user