Bug fix: The attempt to blank already blanked DVD-RW was not gracefully blocked
This commit is contained in:
parent
c1503f6a53
commit
c2513de0a2
@ -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");
|
||||
}
|
||||
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