Took into respect fabricated_disc_status

This commit is contained in:
Thomas Schmitt 2007-09-13 12:49:41 +00:00
parent 1e2762962b
commit e11910fdef

View File

@ -201,6 +201,9 @@ enum burn_disc_status isoburn_disc_get_status(struct burn_drive *drive)
ret= isoburn_find_emulator(&o, drive, 0); ret= isoburn_find_emulator(&o, drive, 0);
if(ret<0) if(ret<0)
return(BURN_DISC_UNSUITABLE); return(BURN_DISC_UNSUITABLE);
if(o!=NULL)
if(o->fabricated_disc_status!=BURN_DISC_UNREADY)
return(o->fabricated_disc_status);
if(ret==0) if(ret==0)
return(burn_disc_get_status(drive)); return(burn_disc_get_status(drive));