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 86867280b0
commit 8bb0ad94ce
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)
iso_set_abort_severity("SORRY");
sprintf(xorriso->info_text,"Loading ISO image tree");
ret= isoburn_disc_get_msc1(drive, &load_lba);
if(ret > 0)
sprintf(xorriso->info_text + strlen(xorriso->info_text),
" from LBA %d", load_lba);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
if(state != BURN_DISC_BLANK) {
ret= isoburn_disc_get_msc1(drive, &load_lba);
if(ret > 0) {
sprintf(xorriso->info_text + strlen(xorriso->info_text),
"Loading ISO image tree from LBA %d", load_lba);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
}
}
ret= isoburn_read_image(drive, ropts, &volset);
/* <<< Resetting to normal thresholds */
@ -7335,7 +7337,7 @@ int Xorriso_check_media(struct XorrisO *xorriso, struct SpotlisT **spotlist,
Xorriso_pacifier_reset(xorriso, 0);
job->start_time= time(NULL);
mode= job->mode;
if(job->min_lba >= 0) {
if(job->min_lba > 0) {
start_lba= job->min_lba;
ret= Spotlist_add_item(*spotlist, 0, job->min_lba,
Xorriso_read_quality_untesteD, 0);