Issuing message at begin of image loading
This commit is contained in:
parent
da5b9a2370
commit
104bda3a47
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.09.09.082406"
|
#define Xorriso_timestamP "2008.09.11.114227"
|
||||||
|
@ -426,7 +426,7 @@ int Xorriso_create_empty_iso(struct XorrisO *xorriso, int flag)
|
|||||||
*/
|
*/
|
||||||
int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag)
|
int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag)
|
||||||
{
|
{
|
||||||
int ret, hret, not_writeable= 0, has_what, aquire_flag;
|
int ret, hret, not_writeable= 0, has_what, aquire_flag, load_lba;
|
||||||
uint32_t size;
|
uint32_t size;
|
||||||
struct burn_drive_info *dinfo= NULL, *out_dinfo, *in_dinfo;
|
struct burn_drive_info *dinfo= NULL, *out_dinfo, *in_dinfo;
|
||||||
struct burn_drive *drive, *out_drive, *in_drive;
|
struct burn_drive *drive, *out_drive, *in_drive;
|
||||||
@ -583,6 +583,12 @@ 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");
|
||||||
|
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);
|
||||||
ret= isoburn_read_image(drive, ropts, &volset);
|
ret= isoburn_read_image(drive, ropts, &volset);
|
||||||
|
|
||||||
/* <<< Resetting to normal thresholds */
|
/* <<< Resetting to normal thresholds */
|
||||||
|
Loading…
Reference in New Issue
Block a user