From d5cc48201572833e820088e73c26a592f1e34726 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 --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/async.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 52e5541..c7c2281 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.03.21.090430" +#define Cdrskin_timestamP "2011.03.21.092220" diff --git a/libburn/async.c b/libburn/async.c index c2c961c..40f8003 100644 --- a/libburn/async.c +++ b/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)