From 104bda3a4787bd11a9b0908b051c06d66fb9717e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 11 Sep 2008 11:43:26 +0000 Subject: [PATCH] Issuing message at begin of image loading --- libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- libisoburn/trunk/xorriso/xorrisoburn.c | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index feb102b1..f1abcef7 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.09.09.082406" +#define Xorriso_timestamP "2008.09.11.114227" diff --git a/libisoburn/trunk/xorriso/xorrisoburn.c b/libisoburn/trunk/xorriso/xorrisoburn.c index e751e097..3d8a6366 100644 --- a/libisoburn/trunk/xorriso/xorrisoburn.c +++ b/libisoburn/trunk/xorriso/xorrisoburn.c @@ -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 ret, hret, not_writeable= 0, has_what, aquire_flag; + int ret, hret, not_writeable= 0, has_what, aquire_flag, load_lba; uint32_t size; struct burn_drive_info *dinfo= NULL, *out_dinfo, *in_dinfo; 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) 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); /* <<< Resetting to normal thresholds */