From ced69fa34045ba27d9f990f292c731d26b2ca927 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 21 Mar 2011 09:22:04 +0000 Subject: [PATCH] Enabled blanking of drive with role 5 --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/async.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 52e5541b..c7c22814 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.03.21.090430" +#define Cdrskin_timestamP "2011.03.21.092220" diff --git a/libburn/trunk/libburn/async.c b/libburn/trunk/libburn/async.c index c2c961ca..40f80030 100644 --- a/libburn/trunk/libburn/async.c +++ b/libburn/trunk/libburn/async.c @@ -383,7 +383,9 @@ void burn_disc_erase(struct burn_drive *drive, int fast) /* ts A70909 : the willingness to burn any BURN_DISC_FULL media is inappropriate. One would rather need a -force option Note: keep this in sync with mmc_read_disc_info() */ - if ((drive->current_profile != 0x0a && + /* ts B10321 : Allowed role 5 to be blanked */ + if ((drive->drive_role == 1 && + drive->current_profile != 0x0a && drive->current_profile != 0x13 && drive->current_profile != 0x14 && drive->status != BURN_DISC_FULL)