Bug fix: Some drives returned wrong CD sizes after having burnt DVD-R

This commit is contained in:
2011-07-31 08:03:51 +00:00
parent ecc8bbc71f
commit b0a4b7c15c
6 changed files with 42 additions and 1 deletions

View File

@ -678,6 +678,7 @@ void spc_sense_write_params(struct burn_drive *d)
d->read_format_capacities(d, -1);
else if (d->status == BURN_DISC_BLANK ||
(d->current_is_cd_profile && d->status == BURN_DISC_APPENDABLE)) {
burn_drive_send_default_page_05(d, 0);
d->get_nwa(d, -1, &dummy, &dummy);
}
/* others are hopefully up to date from mmc_read_disc_info() */