From c7f0b2f2d0e20cb3ce2065505abeb964dca259e4 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 12 Jul 2011 15:54:42 +0000 Subject: [PATCH] Bug fix: Empty ROM drive was mistaken to hold an unsuitable disc --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/drive.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 003f1518..6bdb8573 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.12.155335" +#define Cdrskin_timestamP "2011.07.12.155417" diff --git a/libburn/trunk/libburn/drive.c b/libburn/trunk/libburn/drive.c index 2fee79ef..ccf08a3b 100644 --- a/libburn/trunk/libburn/drive.c +++ b/libburn/trunk/libburn/drive.c @@ -310,8 +310,9 @@ int burn_drive_inquire_media(struct burn_drive *d) if (d->current_profile == -1 || d->current_is_cd_profile) d->read_toc(d); - /* ts A70314 */ - d->status = BURN_DISC_UNSUITABLE; + /* ts A70314 , B10712 */ + if (d->status != BURN_DISC_EMPTY) + d->status = BURN_DISC_UNSUITABLE; } return 1; }