Prevented premature BURN_DRIVE_IDLE introduced with revision 443

ZeroThreeEight
Thomas Schmitt 16 years ago
parent 3d5cb04093
commit 9270f41c65
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 1
      libburn/drive.c
  3. 5
      libburn/write.c

@ -1 +1 @@
#define Cdrskin_timestamP "2006.11.25.170456"
#define Cdrskin_timestamP "2006.11.25.182841"

@ -456,7 +456,6 @@ void burn_disc_erase_sync(struct burn_drive *d, int fast)
!d->test_unit_ready(d))
sleep(1);
d->progress.sector = 0x10000;
d->busy = BURN_DRIVE_IDLE;
/* ts A61125 : update media state records */
burn_drive_mark_unready(d);

@ -920,13 +920,12 @@ return crap. so we send the command, then ignore the result.
sleep(1);
burn_print(1, "done\n");
d->busy = BURN_DRIVE_IDLE;
/* ts A61125 : update media state records */
burn_drive_mark_unready(d);
burn_drive_inquire_media(d);
burn_print(1, "done\n");
/* ts A61012 : This return was traditionally missing. I suspect this
to have caused Cdrskin_eject() failures */
return;

Loading…
Cancel
Save