Correction about -check_media report and message about image loading

This commit is contained in:
Thomas Schmitt 2008-09-13 20:45:42 +00:00
parent a314fb5e91
commit 8274230e14
2 changed files with 10 additions and 8 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.09.11.114227" #define Xorriso_timestamP "2008.09.13.204455"

View File

@ -583,12 +583,14 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag)
if(xorriso->img_read_error_mode>0) if(xorriso->img_read_error_mode>0)
iso_set_abort_severity("SORRY"); iso_set_abort_severity("SORRY");
sprintf(xorriso->info_text,"Loading ISO image tree"); if(state != BURN_DISC_BLANK) {
ret= isoburn_disc_get_msc1(drive, &load_lba); ret= isoburn_disc_get_msc1(drive, &load_lba);
if(ret > 0) if(ret > 0) {
sprintf(xorriso->info_text + strlen(xorriso->info_text), sprintf(xorriso->info_text + strlen(xorriso->info_text),
" from LBA %d", load_lba); "Loading ISO image tree from LBA %d", load_lba);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0); Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
}
}
ret= isoburn_read_image(drive, ropts, &volset); ret= isoburn_read_image(drive, ropts, &volset);
/* <<< Resetting to normal thresholds */ /* <<< Resetting to normal thresholds */
@ -7335,7 +7337,7 @@ int Xorriso_check_media(struct XorrisO *xorriso, struct SpotlisT **spotlist,
Xorriso_pacifier_reset(xorriso, 0); Xorriso_pacifier_reset(xorriso, 0);
job->start_time= time(NULL); job->start_time= time(NULL);
mode= job->mode; mode= job->mode;
if(job->min_lba >= 0) { if(job->min_lba > 0) {
start_lba= job->min_lba; start_lba= job->min_lba;
ret= Spotlist_add_item(*spotlist, 0, job->min_lba, ret= Spotlist_add_item(*spotlist, 0, job->min_lba,
Xorriso_read_quality_untesteD, 0); Xorriso_read_quality_untesteD, 0);