Avoided to report Volume Id when aquiring drive with blank media
This commit is contained in:
parent
03d2a82cac
commit
88f3ef358d
@ -503,17 +503,18 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, int flag)
|
||||
|
||||
if(!(flag&32)) {
|
||||
Xorriso_toc(xorriso, 1 | 8);
|
||||
if(xorriso->loaded_volid[0]!=0) {
|
||||
if(xorriso->loaded_volid[0] != 0 &&
|
||||
(state == BURN_DISC_APPENDABLE || state == BURN_DISC_FULL)) {
|
||||
sprintf(xorriso->info_text,"Volume id : '%s'\n",
|
||||
xorriso->loaded_volid);
|
||||
Xorriso_info(xorriso, 0);
|
||||
}
|
||||
if(strcmp(xorriso->loaded_volid, xorriso->volid) != 0 &&
|
||||
!xorriso->volid_default) {
|
||||
sprintf(xorriso->info_text, "New volume id: '%s'\n", xorriso->volid);
|
||||
Xorriso_info(xorriso, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ret= 1+not_writeable;
|
||||
ex:
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2011.04.04.064909"
|
||||
#define Xorriso_timestamP "2011.04.04.071443"
|
||||
|
Loading…
Reference in New Issue
Block a user