Revoked -format mode by_size for DVD-RW

This commit is contained in:
Thomas Schmitt 2008-12-13 16:17:18 +00:00
parent 3f034883a6
commit 581ff82167
3 changed files with 5 additions and 4 deletions

View File

@ -1133,7 +1133,7 @@ mode word. E.g: "by_index_3".
.br .br
"by_size_" selects a format out of the descriptor list which provides at "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. 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 .br
"fast_by_size_" does the same as "by_size_" but tries to be quicker. "fast_by_size_" does the same as "by_size_" but tries to be quicker.
.br .br

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.12.13.144622" #define Xorriso_timestamP "2008.12.13.161650"

View File

@ -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 */ } else if(current_profile == 0x14) { /* DVD-RW sequential */
if((flag & 3) == 1) { if(flag & 1) {
size= 128*1024*1024; size= 128*1024*1024;
mode_flag= 1; /* format to size, then write size of zeros */ mode_flag= 1; /* format to size, then write size of zeros */
} } else
mode_flag= 4;
} else if(current_profile == 0x1a) { /* DVD+RW */ } else if(current_profile == 0x1a) { /* DVD+RW */
if(flag&1) { if(flag&1) {