Enabled overburning with burn_write_opts_set_force(,1)

This commit is contained in:
Thomas Schmitt 2021-11-24 12:45:07 +01:00
parent da44c706ea
commit 7765fbd1ab
3 changed files with 8 additions and 3 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2021.09.12.084556"
#define Cdrskin_timestamP "2021.11.24.114417"

View File

@ -3337,9 +3337,13 @@ void burn_write_opts_set_fillup(struct burn_write_opts *opts,
/* ts A70303 */
/** Eventually makes libburn ignore the failure of some conformance checks:
/** Lets libburn ignore the failure of some conformance checks:
- the check whether CD write+block type is supported by the drive
- the check whether the media profile supports simulated burning
- @since 1.5.6
The check whether a write operation exceeds the size of the medium
as announced by the drive. This is known as "overburn" and may work
for a few thousand additional blocks on CD media with write type SAO.
@param opts The write opts to change
@param use_force 1=ignore above checks, 0=refuse work on failed check
@since 0.3.4

View File

@ -963,7 +963,8 @@ fprintf(stderr, "libburn_DEBUG: buffer sectors= %d bytes= %d\n",
return BE_CANCELLED;
/* ts A70215 */
if (d->media_lba_limit > 0 && start >= d->media_lba_limit) {
if (d->media_lba_limit > 0 && start >= d->media_lba_limit &&
!d->write_opts->force_is_set) {
msg = calloc(1, 320);
if (msg != NULL) {