diff --git a/xorriso/write_run.c b/xorriso/write_run.c index 56d43877..8968a8bb 100644 --- a/xorriso/write_run.c +++ b/xorriso/write_run.c @@ -1867,7 +1867,7 @@ int Xorriso_blank_media(struct XorrisO *xorriso, int flag) struct burn_drive_info *dinfo; struct burn_drive *drive; enum burn_disc_status disc_state; - struct burn_progress p; + struct burn_progress_v2 p; double percent = 1.0; int current_profile; char current_profile_name[80]; @@ -1952,7 +1952,7 @@ int Xorriso_blank_media(struct XorrisO *xorriso, int flag) usleep(1000000); if(!using_immed) sprintf(progress_text, "synchronously since"); - while (burn_drive_get_status(drive, &p) != BURN_DRIVE_IDLE) { + while (burn_drive_get_status_v2(drive, &p) != BURN_DRIVE_IDLE) { Xorriso_process_msg_queues(xorriso,0); if(p.sectors>0 && p.sector>=0) /* display 1 to 99 percent */ percent = 1.0 + ((double) p.sector+1.0) / ((double) p.sectors) * 98.0; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 38e20376..7a63b778 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2024.03.24.081207" +#define Xorriso_timestamP "2024.03.24.084501"