From 91ff41856b295202a7346a6742160b2b63d27e4a 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 --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/mmc.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index b1d3472..4c3a063 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2006.12.02.111701" +#define Cdrskin_timestamP "2006.12.02.130631" diff --git a/libburn/mmc.c b/libburn/mmc.c index 22cf9f7..f5a124d 100644 --- a/libburn/mmc.c +++ b/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,