Ended falsely alleged erasability of DVD-RAM and DVD+RW

ZeroFourZero
Thomas Schmitt 15 years ago
parent 542afd7b3b
commit c70a78c477
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 3
      libburn/async.c
  3. 3
      libburn/mmc.c

@ -1 +1 @@
#define Cdrskin_timestamP "2007.09.09.133922"
#define Cdrskin_timestamP "2007.09.09.182827"

@ -244,6 +244,9 @@ void burn_disc_erase(struct burn_drive *drive, int fast)
/* ts A70131 : allow blanking of overwriteable DVD-RW (profile 0x13) */
/* ts A70216 : allow blanking of CD-RW or DVD-RW in any regular state
and of any kind of full media */
/* ts A70909 : the willingness to burn any BURN_DISC_FULL media is
inappropriate. One would rather need a -force option
Note: keep this in sync with mmc_read_disc_info() */
if ((drive->current_profile != 0x0a &&
drive->current_profile != 0x13 &&
drive->current_profile != 0x14 &&

@ -1306,6 +1306,9 @@ static int mmc_read_disc_info_al(struct burn_drive *d, int *alloc_len)
appendable. I.e number of complete tracks + 1. */
d->last_track_no = (data[11] << 8) | data[6];
}
if (d->current_profile != 0x0a && d->current_profile != 0x13 &&
d->current_profile != 0x14 && d->status != BURN_DISC_FULL)
d->erasable = 0; /* stay in sync with burn_disc_erase() */
if (do_read_toc)
mmc_read_toc(d);

Loading…
Cancel
Save