Commit 581ff821 authored by Thomas Schmitt's avatar Thomas Schmitt

Revoked -format mode by_size for DVD-RW

parent 3f034883
...@@ -1133,7 +1133,7 @@ mode word. E.g: "by_index_3". ...@@ -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
......
#define Xorriso_timestamP "2008.12.13.144622" #define Xorriso_timestamP "2008.12.13.161650"
...@@ -4519,10 +4519,11 @@ int Xorriso_format_media(struct XorrisO *xorriso, off_t in_size, int flag) ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment