From 581ff821679029216d5719ca57c4c91482932d76 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 --- xorriso/xorriso.1 | 2 +- xorriso/xorriso_timestamp.h | 2 +- xorriso/xorrisoburn.c | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/xorriso/xorriso.1 b/xorriso/xorriso.1 index a9390a8c..d99967b2 100644 --- a/xorriso/xorriso.1 +++ b/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/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 47f8125e..98937445 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.12.13.144622" +#define Xorriso_timestamP "2008.12.13.161650" diff --git a/xorriso/xorrisoburn.c b/xorriso/xorrisoburn.c index a22b000a..62dee326 100644 --- a/xorriso/xorrisoburn.c +++ b/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) {