Compile time option for obs_pad
This commit is contained in:
@ -3083,6 +3083,8 @@ void burn_write_opts_set_dvd_obs(struct burn_write_opts *opts, int obs);
|
||||
/* ts B20406 */
|
||||
/** Overrides the automatic decision whether to pad up the last write chunk to
|
||||
its full size. This applies to DVD, BD and stdio: pseudo-drives.
|
||||
Note: This override may get enabled fixely already at compile time by
|
||||
defining macro Libburn_dvd_always_obs_paD .
|
||||
@param opts The write opts to change
|
||||
@param pad 1 means to pad up in any case, 0 means automatic decision.
|
||||
@since 1.2.4
|
||||
|
@ -46,7 +46,13 @@ struct burn_write_opts *burn_write_opts_new(struct burn_drive *drive)
|
||||
opts->underrun_proof = drive->mdata->underrun_proof;
|
||||
opts->perform_opc = 1;
|
||||
opts->obs = -1;
|
||||
|
||||
#ifdef Libburn_dvd_always_obs_paD
|
||||
opts->obs_pad = 1;
|
||||
#else
|
||||
opts->obs_pad = 0;
|
||||
#endif
|
||||
|
||||
opts->start_byte = -1;
|
||||
opts->fill_up_media = 0;
|
||||
opts->force_is_set = 0;
|
||||
|
Reference in New Issue
Block a user