|
|
|
@ -465,6 +465,15 @@ int isoburn_prepare_disc_aux(struct burn_drive *in_d, struct burn_drive *out_d,
|
|
|
|
|
opts->vol_expiration_time, opts->vol_effective_time,
|
|
|
|
|
opts->vol_uuid);
|
|
|
|
|
|
|
|
|
|
if(opts->no_emul_toc) {
|
|
|
|
|
if(out_o->nwa == out_o->zero_nwa &&
|
|
|
|
|
out_o->zero_nwa == Libisoburn_overwriteable_starT &&
|
|
|
|
|
out_o->emulation_mode == 1) {
|
|
|
|
|
out_o->nwa= 0;
|
|
|
|
|
out_o->zero_nwa= 0;
|
|
|
|
|
out_o->min_start_byte= 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
ret = isoburn_disc_track_lba_nwa(out_d, NULL, 0, &lba, &nwa);
|
|
|
|
|
opts->effective_lba= nwa;
|
|
|
|
|
ret= isoburn_get_msc2(out_o, NULL, &nwa, 0);
|
|
|
|
@ -574,6 +583,7 @@ int isoburn_prepare_blind_grow(struct burn_drive *d, struct burn_disc **disc,
|
|
|
|
|
o->nwa= o->zero_nwa= 0;
|
|
|
|
|
else
|
|
|
|
|
o->zero_nwa= 0;
|
|
|
|
|
o->min_start_byte= 0;
|
|
|
|
|
ret= isoburn_prepare_disc_aux(d, out_drive, disc, opts, 2);
|
|
|
|
|
if (ret<=0)
|
|
|
|
|
return ret;
|
|
|
|
@ -908,6 +918,7 @@ int isoburn_igopt_set_extensions(struct isoburn_imgen_opts *o, int ext)
|
|
|
|
|
o->aaip= !!(ext & 32);
|
|
|
|
|
o->session_md5= !!(ext & 64);
|
|
|
|
|
o->file_md5= (ext & (128 | 256)) >> 7;
|
|
|
|
|
o->no_emul_toc= !!(ext & 512);
|
|
|
|
|
return(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -916,7 +927,8 @@ int isoburn_igopt_get_extensions(struct isoburn_imgen_opts *o, int *ext)
|
|
|
|
|
{
|
|
|
|
|
*ext= (!!o->rockridge) | ((!!o->joliet)<<1) | ((!!o->iso1999)<<2) |
|
|
|
|
|
((!!o->hardlinks) << 3) | ((!!o->aaip) << 5) |
|
|
|
|
|
((!!o->session_md5) << 6) | ((o->file_md5 & 3) << 7);
|
|
|
|
|
((!!o->session_md5) << 6) | ((o->file_md5 & 3) << 7) |
|
|
|
|
|
((!!o->no_emul_toc) << 9);
|
|
|
|
|
return(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|