Browse Source

Took into respect fabricated_disc_status

master
Thomas Schmitt 14 years ago
parent
commit
d7d8946ae1
  1. 3
      libisoburn/burn_wrap.c

3
libisoburn/burn_wrap.c

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

Loading…
Cancel
Save