Began to implement formatting of DVD-RAM and experimentally of BD-RE

This commit is contained in:
2008-04-18 09:27:16 +00:00
parent 5d51869c3b
commit 4683386de1
5 changed files with 78 additions and 21 deletions

View File

@ -392,6 +392,10 @@ void burn_disc_format(struct burn_drive *drive, off_t size, int flag)
size = 0;
flag &= ~(2|8); /* no insisting in size 0, no expansion */
flag |= 4; /* format up to maximum size */
} else if (drive->current_profile == 0x12) {
ok = 1; /* DVD-RAM */
} else if (drive->current_profile == 0x43) {
ok = 1; /* BD-RE */
}
if (!ok) {