From 314ed864dad70ccf305f142210747ff03df10602 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 2 Dec 2006 13:06:05 +0000 Subject: [PATCH] Correction for drives which return empty tray as profile 0x00 rather than error --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/mmc.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index b1d34728..4c3a0636 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2006.12.02.111701" +#define Cdrskin_timestamP "2006.12.02.130631" diff --git a/libburn/trunk/libburn/mmc.c b/libburn/trunk/libburn/mmc.c index 22cf9f7f..f5a124da 100644 --- a/libburn/trunk/libburn/mmc.c +++ b/libburn/trunk/libburn/mmc.c @@ -476,7 +476,8 @@ void mmc_read_disc_info(struct burn_drive *d) return; mmc_get_configuration(d); - if (! d->current_is_cd_profile) { + if ((d->current_profile != 0 || d->status != BURN_DISC_UNREADY) + && ! d->current_is_cd_profile) { sprintf(msg, "Unsuitable media detected. Profile %4.4Xh %s", d->current_profile, d->current_profile_text); libdax_msgs_submit(libdax_messenger, d->global_index,