Allowed DVD +/- DL for reading

This commit is contained in:
Thomas Schmitt 2008-02-08 07:34:58 +00:00
parent fdbed06f84
commit 6e74c8bc2e
2 changed files with 11 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2008.02.07.232820"
#define Cdrskin_timestamP "2008.02.08.073414"

View File

@ -1422,6 +1422,7 @@ static int mmc_read_disc_info_al(struct burn_drive *d, int *alloc_len)
disc_status = 2; /* always full and finalized */
d->erasable = 0; /* never erasable */
}
switch (disc_status) {
case 0:
d->toc_entries = 0;
@ -1445,6 +1446,15 @@ static int mmc_read_disc_info_al(struct burn_drive *d, int *alloc_len)
break;
}
/* ts A80207 : DVD +/- R DL can normally be read but not be written */
if((d->current_profile == 0x2b || d->current_profile == 0x15) &&
!d->current_is_supported_profile) {
if(d->status == BURN_DISC_APPENDABLE)
d->status = BURN_DISC_FULL;
d->erasable = 0; /* never erasable */
d->current_is_supported_profile = 1;
}
if ((d->current_profile != 0 || d->status != BURN_DISC_UNREADY)
&& ! d->current_is_supported_profile) {
if (!d->silent_on_scsi_error) {