From 158b5f4b1a51c6f9ac7e641c8d0a666202460c56 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 --- trunk/cdrskin/cdrskin.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/trunk/cdrskin/cdrskin.c b/trunk/cdrskin/cdrskin.c index bf603b3e..656eeb61 100644 --- a/trunk/cdrskin/cdrskin.c +++ b/trunk/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); }