Enabled pre-gap size for tracks other than the first one
This commit is contained in:
parent
3de5aff305
commit
34a7bb2d03
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2012.01.10.124916"
|
#define Cdrskin_timestamP "2012.01.11.111602"
|
||||||
|
@ -594,7 +594,6 @@ struct cue_sheet *burn_create_toc_entries(struct burn_write_opts *o,
|
|||||||
tar[0]->pregap2 = 1;
|
tar[0]->pregap2 = 1;
|
||||||
if (tar[0]->pregap2_size < 150)
|
if (tar[0]->pregap2_size < 150)
|
||||||
tar[0]->pregap2_size = 150;
|
tar[0]->pregap2_size = 150;
|
||||||
pregap = tar[0]->pregap2_size;
|
|
||||||
|
|
||||||
pform = form;
|
pform = form;
|
||||||
for (i = 0; i < ntr; i++) {
|
for (i = 0; i < ntr; i++) {
|
||||||
@ -610,7 +609,8 @@ struct cue_sheet *burn_create_toc_entries(struct burn_write_opts *o,
|
|||||||
if (ret <= 0)
|
if (ret <= 0)
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
if (tar[i]->pregap2)
|
||||||
|
pregap = tar[i]->pregap2_size;
|
||||||
|
|
||||||
#ifdef Libburn_track_multi_indeX
|
#ifdef Libburn_track_multi_indeX
|
||||||
|
|
||||||
@ -618,7 +618,7 @@ struct cue_sheet *burn_create_toc_entries(struct burn_write_opts *o,
|
|||||||
if(tar[i]->index[j] == 0x7fffffff) {
|
if(tar[i]->index[j] == 0x7fffffff) {
|
||||||
if (j > 1)
|
if (j > 1)
|
||||||
break;
|
break;
|
||||||
if (j == 0 && i > 0)
|
if (pregap <= 0)
|
||||||
continue;
|
continue;
|
||||||
/* force existence of mandatory index */
|
/* force existence of mandatory index */
|
||||||
tar[i]->index[j] = 0;
|
tar[i]->index[j] = 0;
|
||||||
@ -642,8 +642,6 @@ struct cue_sheet *burn_create_toc_entries(struct burn_write_opts *o,
|
|||||||
/* >>> ??? else if j == 0 && mode change to -data :
|
/* >>> ??? else if j == 0 && mode change to -data :
|
||||||
Extended pregap */;
|
Extended pregap */;
|
||||||
|
|
||||||
/* >>> ??? user defined pregap ? */;
|
|
||||||
|
|
||||||
/* >>> check index with track size */;
|
/* >>> check index with track size */;
|
||||||
|
|
||||||
tar[i]->index[j] += runtime;
|
tar[i]->index[j] += runtime;
|
||||||
|
Loading…
Reference in New Issue
Block a user