From ff12e0f0e635e5c7ebd4af8db395ab170c33ad7f Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 13 Jan 2012 15:11:24 +0000 Subject: [PATCH] Corrected total size summary of cdrskin before burn start --- libburn/trunk/cdrskin/cdrskin.c | 11 +++++------ libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin.c b/libburn/trunk/cdrskin/cdrskin.c index 153fcf9e..80f891d0 100644 --- a/libburn/trunk/cdrskin/cdrskin.c +++ b/libburn/trunk/cdrskin/cdrskin.c @@ -6368,6 +6368,7 @@ int Cdrskin_announce_tracks(struct CdrskiN *skin, int start_tno, int flag) frac= (seconds-min*60-sec)*100; if(frac>99) frac= 99; + sectors+= 150; printf("Lout start: %5d MB (%-2.2d:%-2.2d/%-2.2d) = %d sectors\n", mb,min,sec,frac,(int) sectors); } @@ -6774,13 +6775,11 @@ burn_failed:; } Cdrtrack_get_size(skin->tracklist[i],&size,&padding,§or_size, &use_data_image_size,0); - if(use_data_image_size==1) { /* still unfulfilled -isosize demand pending */ + if(use_data_image_size==1) { + /* still unfulfilled -isosize demand pending */ needs_early_fifo_fill= 1; - } else if(size>0) - skin->fixed_size+= size+padding; - else - skin->has_open_ended_track= 1; - non_audio= (skin->tracklist[i]->track_type != BURN_AUDIO); + } + non_audio|= (skin->tracklist[i]->track_type != BURN_AUDIO); } } diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 8a2f6e3b..9a6f1a6c 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2012.01.13.150949" +#define Cdrskin_timestamP "2012.01.13.151126"