Browse Source

Enabled overburning with burn_write_opts_set_force(,1)

master
Thomas Schmitt 1 week ago
parent
commit
7765fbd1ab
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 6
      libburn/libburn.h
  3. 3
      libburn/mmc.c

2
cdrskin/cdrskin_timestamp.h

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

6
libburn/libburn.h

@ -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

3
libburn/mmc.c

@ -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) {

Loading…
Cancel
Save