Bug fix: The attempt to blank already blanked DVD-RW was not gracefully blocked
This commit is contained in:
parent
30e97c7e7a
commit
a27a1ae530
@ -1304,10 +1304,14 @@ int Xorriso_blank_media(struct XorrisO *xorriso, int flag)
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "HINT", 0);
|
||||
flag&= ~1;
|
||||
}
|
||||
} else if(disc_state == BURN_DISC_BLANK) {
|
||||
sprintf(xorriso->info_text,"Blank media detected. Will leave it untouched");
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
|
||||
return 2;
|
||||
}
|
||||
if(disc_state == BURN_DISC_BLANK) {
|
||||
if(!do_deformat) {
|
||||
sprintf(xorriso->info_text,
|
||||
"Blank media detected. Will leave it untouched");
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
|
||||
return 2;
|
||||
}
|
||||
} else if(disc_state==BURN_DISC_FULL || disc_state==BURN_DISC_APPENDABLE) {
|
||||
;
|
||||
} else if(disc_state == BURN_DISC_EMPTY) {
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2011.05.19.111229"
|
||||
#define Xorriso_timestamP "2011.05.19.133735"
|
||||
|
Loading…
Reference in New Issue
Block a user