Avoided closing of 0x13-DVD-RW sessions which are not intermediate

This commit is contained in:
2007-01-14 13:41:19 +00:00
parent 8e9fe45086
commit c053c40dcb
4 changed files with 18 additions and 8 deletions

View File

@ -925,9 +925,11 @@ int burn_dvd_write_session(struct burn_write_opts *o,
return 0;
} else if (d->current_profile == 0x13) {
/* DVD-RW restricted overwrite */
ret = burn_disc_close_session_dvd_minus_rw(o, s);
if (ret <= 0)
return 0;
if (d->dvd_minus_rw_incomplete) {
ret = burn_disc_close_session_dvd_minus_rw(o, s);
if (ret <= 0)
return 0;
}
} else if (d->current_profile == 0x12) {
/* DVD-RAM */
/* ??? any finalization needed ? */;