Commit ed437d44 authored by Thomas Schmitt's avatar Thomas Schmitt

Enabled formatting of BD-R media to SRM-POW default size

parent fcbe9465
#define Xorriso_timestamP "2008.12.08.154521"
#define Xorriso_timestamP "2008.12.10.093424"
......@@ -4565,6 +4565,11 @@ int Xorriso_format_media(struct XorrisO *xorriso, int flag)
return(2);
}
} else if(current_profile == 0x41) { /* BD-R SRM */
mode_flag= 6; /* format to default payload size */
if(flag&1)
mode_flag|= (1<<6);
} else if(current_profile == 0x43) { /* BD-RE */
mode_flag= 6; /* format to default payload size */
if(flag&1)
......@@ -4667,11 +4672,18 @@ int Xorriso_blank_as_needed(struct XorrisO *xorriso, int flag)
return(ret);
did_work= (ret == 1);
}
} else if(current_profile == 0x14 && (flag&4)) { /* DVD-RW sequential */
} else if(current_profile == 0x14 && (flag&4)) { /* DVD-RW sequential */
ret= Xorriso_format_media(xorriso, 0);
if(ret <= 0)
return(ret);
did_work= (ret == 1);
} else if(current_profile == 0x41) { /* BD-R SRM */
if(!is_formatted) {
ret= Xorriso_format_media(xorriso, 1);
if(ret <= 0)
return(ret);
did_work= (ret == 1);
}
}
disc_state = isoburn_disc_get_status(drive);
......
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