React properly on drive stating that it cannot write any media

This commit is contained in:
Thomas Schmitt 2007-03-15 19:46:26 +00:00
parent 6086b59301
commit 9e1b3719d6
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.03.14.133618" #define Cdrskin_timestamP "2007.03.15.194531"

View File

@ -206,6 +206,9 @@ int burn_drive_inquire_media(struct burn_drive *d)
} else { } else {
if (d->current_profile == -1 || d->current_is_cd_profile) if (d->current_profile == -1 || d->current_is_cd_profile)
d->read_toc(d); d->read_toc(d);
/* ts A70314 */
d->status = BURN_DISC_UNSUITABLE;
} }
return 1; return 1;
} }