Forced each track to have a minimum size of 600 kB
This commit is contained in:
parent
09049a7fa5
commit
158b5f4b1a
@ -682,6 +682,10 @@ struct CdrfifO {
|
|||||||
|
|
||||||
/* --------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
/** cdrecord pads up to 600 kB in any case.
|
||||||
|
libburn yields blank result on tracks <~ 600 kB */
|
||||||
|
static double Cdrtrack_minimum_sizE= 600*1024;
|
||||||
|
|
||||||
|
|
||||||
/** This structure represents a track resp. a data source */
|
/** This structure represents a track resp. a data source */
|
||||||
struct CdrtracK {
|
struct CdrtracK {
|
||||||
@ -830,6 +834,12 @@ int Cdrtrack_open_source_path(struct CdrtracK *track, int *fd, int flag)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(track->fixed_size<Cdrtrack_minimum_sizE) {
|
||||||
|
fprintf(stderr,
|
||||||
|
"cdrskin: NOTE : Enforcing minimum track size of %.f bytes\n",
|
||||||
|
Cdrtrack_minimum_sizE);
|
||||||
|
track->fixed_size= Cdrtrack_minimum_sizE;
|
||||||
|
}
|
||||||
track->source_fd= *fd;
|
track->source_fd= *fd;
|
||||||
return(*fd>=0);
|
return(*fd>=0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user