Introduced API for inspection and selection of format capacities

This commit is contained in:
2007-01-13 21:18:20 +00:00
parent a426df57d7
commit 07cef29616
4 changed files with 109 additions and 25 deletions

View File

@ -277,6 +277,8 @@ void burn_disc_format(struct burn_drive *drive, off_t size, int flag)
0, 0);
return;
}
if (flag & 128) /* application prescribed format type */
flag |= 16; /* enforce re-format */
if (drive->current_profile == 0x14)
ok = 1; /* DVD-RW sequential */