With -list_speeds : reporting the effective speed 0 if it deviates from speed H
This commit is contained in:
parent
2ef4125611
commit
9f10debf43
@ -1702,6 +1702,14 @@ int Xorriso_list_speeds(struct XorrisO *xorriso, int flag)
|
||||
sprintf(respt + strlen(respt), " %5dk , %4.1fx%s\n",
|
||||
high, ((double) high) * 1000.0 / speed_factor, speed_unit);
|
||||
Xorriso_result(xorriso,0);
|
||||
ret= burn_drive_get_best_speed(drive, 0, &item, 2);
|
||||
if(ret > 0 && item != NULL)
|
||||
if(item->write_speed != high) {
|
||||
sprintf(respt, "Write speed 0: %5dk , %4.1fx%s\n",
|
||||
item->write_speed,
|
||||
((double) item->write_speed) * 1000.0 / speed_factor, speed_unit);
|
||||
Xorriso_result(xorriso,0);
|
||||
}
|
||||
} else {
|
||||
sprintf(xorriso->info_text,
|
||||
"Could not get any write speed information from drive");
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2013.03.06.164347"
|
||||
#define Xorriso_timestamP "2013.03.06.164906"
|
||||
|
Loading…
Reference in New Issue
Block a user