From 1256be0cf80965565566633c1a3c43bf4573f034 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 19 Feb 2007 18:41:38 +0000 Subject: [PATCH] Repaired slightly broken pacifier track size display with -audio --- libburn/trunk/cdrskin/cdrskin.c | 4 +++- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin.c b/libburn/trunk/cdrskin/cdrskin.c index bb432aba..d9b28977 100644 --- a/libburn/trunk/cdrskin/cdrskin.c +++ b/libburn/trunk/cdrskin/cdrskin.c @@ -4285,7 +4285,9 @@ thank_you_for_patience:; if(fixed_size || (skin->fill_up_media && skin->supposed_track_idx==skin->track_counter-1)) { sprintf(mb_text,"%4d of %4d",(int) (written_total_bytes/1024.0/1024.0), - Cdrtrack_get_sectors(skin->tracklist[skin->supposed_track_idx],0)/512); + (int) ((double) Cdrtrack_get_sectors( + skin->tracklist[skin->supposed_track_idx],0)* + sector_size/1024.0/1024.0)); } else sprintf(mb_text,"%4d",(int) (written_total_bytes/1024.0/1024.0)); speed_factor= Cdrskin_speed_factoR*sector_size/2048; diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 511bfa94..61c79ff5 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.02.18.094858" +#define Cdrskin_timestamP "2007.02.19.184132"