From 2224ff718a406c3afc413bd8f0586e605d91c62c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 29 Aug 2006 10:06:05 +0000 Subject: [PATCH] Forced each track to have a minimum size of 600 kB --- cdrskin/cdrskin.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index bf603b3..656eeb6 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -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 */ struct CdrtracK { @@ -830,6 +834,12 @@ int Cdrtrack_open_source_path(struct CdrtracK *track, int *fd, int flag) } } } + if(track->fixed_sizefixed_size= Cdrtrack_minimum_sizE; + } track->source_fd= *fd; return(*fd>=0); }