Correction about isoburn_igopt_get_effective_lba() with blind growing
This commit is contained in:
parent
dc890e3eb7
commit
a6f6e736a9
@ -352,7 +352,7 @@ int isoburn_prepare_disc_aux(struct burn_drive *in_d, struct burn_drive *out_d,
|
|||||||
struct isoburn *in_o, *out_o;
|
struct isoburn *in_o, *out_o;
|
||||||
IsoWriteOpts *wopts= NULL;
|
IsoWriteOpts *wopts= NULL;
|
||||||
enum burn_disc_status state;
|
enum burn_disc_status state;
|
||||||
int ret, fifo_chunks, nwa, i, new_img, early_indev_release;
|
int ret, fifo_chunks, lba, nwa, i, new_img, early_indev_release;
|
||||||
size_t buffer_size= 0, buffer_free= 0;
|
size_t buffer_size= 0, buffer_free= 0;
|
||||||
char msg[160];
|
char msg[160];
|
||||||
|
|
||||||
@ -423,6 +423,8 @@ int isoburn_prepare_disc_aux(struct burn_drive *in_d, struct burn_drive *out_d,
|
|||||||
iso_write_opts_set_output_charset(wopts, opts->output_charset);
|
iso_write_opts_set_output_charset(wopts, opts->output_charset);
|
||||||
iso_write_opts_set_fifo_size(wopts, fifo_chunks);
|
iso_write_opts_set_fifo_size(wopts, fifo_chunks);
|
||||||
|
|
||||||
|
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);
|
ret= isoburn_get_msc2(out_o, NULL, &nwa, 0);
|
||||||
if (ret != 1) {
|
if (ret != 1) {
|
||||||
isoburn_msgs_submit(out_o, 0x00060000,
|
isoburn_msgs_submit(out_o, 0x00060000,
|
||||||
@ -430,7 +432,6 @@ int isoburn_prepare_disc_aux(struct burn_drive *in_d, struct burn_drive *out_d,
|
|||||||
{ret= -3; goto ex;}
|
{ret= -3; goto ex;}
|
||||||
}
|
}
|
||||||
iso_write_opts_set_ms_block(wopts, nwa);
|
iso_write_opts_set_ms_block(wopts, nwa);
|
||||||
opts->effective_lba= nwa;
|
|
||||||
iso_write_opts_set_appendable(wopts, !new_img);
|
iso_write_opts_set_appendable(wopts, !new_img);
|
||||||
iso_write_opts_set_overwrite_buf(wopts,
|
iso_write_opts_set_overwrite_buf(wopts,
|
||||||
nwa>0 ? out_o->target_iso_head : NULL);
|
nwa>0 ? out_o->target_iso_head : NULL);
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.07.07.150241"
|
#define Xorriso_timestamP "2008.07.07.150337"
|
||||||
|
Loading…
Reference in New Issue
Block a user