Some adjustments for DVD+R recording

This commit is contained in:
2007-03-07 15:13:25 +00:00
parent 4458bb130a
commit 71c490d0ae
5 changed files with 37 additions and 23 deletions

View File

@ -1029,7 +1029,8 @@ int burn_disc_open_track_dvd_plus_r(struct burn_write_opts *o,
/* ts A70214 : eventually adjust already expanded size of track */
burn_track_apply_fillup(s->track[tnum], d->media_capacity_remaining,1);
if (o->write_type == BURN_WRITE_SAO) {
if (o->write_type == BURN_WRITE_SAO &&
! burn_track_is_open_ended(s->track[tnum])) {
/* Round track size up to 32 KiB and reserve track */
size = ((off_t) burn_track_get_sectors(s->track[tnum]))
* (off_t) 2048;