Optional padding up to full media size when closing (incomplete yet)

This commit is contained in:
2007-02-14 20:32:56 +00:00
parent 3ec93316e0
commit e639cd5bbb
8 changed files with 118 additions and 4 deletions

View File

@@ -36,6 +36,7 @@ struct burn_write_opts *burn_write_opts_new(struct burn_drive *drive)
opts->obs = -1;
opts->obs_pad = 0;
opts->start_byte = -1;
opts->fill_up_media = 0;
opts->has_mediacatalog = 0;
opts->format = BURN_CDROM;
opts->multi = 0;
@@ -261,6 +262,14 @@ no_write_mode:;
}
/* ts A70213 : new API function */
void burn_write_opts_set_fillup(struct burn_write_opts *opts,int fill_up_media)
{
opts->fill_up_media = !!fill_up_media;
return;
}
void burn_read_opts_set_raw(struct burn_read_opts *opts, int raw)
{
opts->raw = raw;