From 2b9293a54b9bbd87e0b3fa95be3abe45f0fa4d23 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 16 Aug 2013 15:38:31 +0000 Subject: [PATCH] Bug fix: Command -blank "as_needed" formatted blank BD-R. --- libisoburn/trunk/xorriso/write_run.c | 2 +- libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libisoburn/trunk/xorriso/write_run.c b/libisoburn/trunk/xorriso/write_run.c index f8217d83..8fdcbe62 100644 --- a/libisoburn/trunk/xorriso/write_run.c +++ b/libisoburn/trunk/xorriso/write_run.c @@ -1810,7 +1810,7 @@ int Xorriso_blank_as_needed(struct XorrisO *xorriso, int flag) return(ret); did_work= (ret == 1); } else if(current_profile == 0x41) { /* BD-R SRM */ - if(!is_formatted) { + if((flag & 4) && !is_formatted) { ret= Xorriso_format_media(xorriso, (off_t) 0, 1); if(ret <= 0) return(ret); diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index f9950fa0..a8c8ec7e 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2013.08.16.153701" +#define Xorriso_timestamP "2013.08.16.153743"