From 49f025fae8635e307138541e2669783492031cb0 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 13 Dec 2008 16:17:18 +0000 Subject: [PATCH] Revoked -format mode by_size for DVD-RW --- libisoburn/trunk/xorriso/xorriso.1 | 2 +- libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- libisoburn/trunk/xorriso/xorrisoburn.c | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libisoburn/trunk/xorriso/xorriso.1 b/libisoburn/trunk/xorriso/xorriso.1 index a9390a8c..d99967b2 100644 --- a/libisoburn/trunk/xorriso/xorriso.1 +++ b/libisoburn/trunk/xorriso/xorriso.1 @@ -1133,7 +1133,7 @@ mode word. E.g: "by_index_3". .br "by_size_" selects a format out of the descriptor list which provides at least the given size. That size is to be appended to the mode word. -E.g: "by_size_4100m". This mainly applies to media with Defect Management. +E.g: "by_size_4100m". This applies to media with Defect Management. .br "fast_by_size_" does the same as "by_size_" but tries to be quicker. .br diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 47f8125e..98937445 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.12.13.144622" +#define Xorriso_timestamP "2008.12.13.161650" diff --git a/libisoburn/trunk/xorriso/xorrisoburn.c b/libisoburn/trunk/xorriso/xorrisoburn.c index a22b000a..62dee326 100644 --- a/libisoburn/trunk/xorriso/xorrisoburn.c +++ b/libisoburn/trunk/xorriso/xorrisoburn.c @@ -4519,10 +4519,11 @@ int Xorriso_format_media(struct XorrisO *xorriso, off_t in_size, int flag) } } else if(current_profile == 0x14) { /* DVD-RW sequential */ - if((flag & 3) == 1) { + if(flag & 1) { size= 128*1024*1024; mode_flag= 1; /* format to size, then write size of zeros */ - } + } else + mode_flag= 4; } else if(current_profile == 0x1a) { /* DVD+RW */ if(flag&1) {