Corrected type and sector size for .cue generated tracks

1.2.0
Thomas Schmitt 11 years ago
parent 66639c6e11
commit 0c01912143
  1. 7
      cdrskin/cdrskin.c
  2. 2
      cdrskin/cdrskin_timestamp.h

@ -6630,10 +6630,13 @@ int Cdrskin_cdrtracks_from_session(struct CdrskiN *skin,
/* Set essential properties */
t= skin->tracklist[skin->track_counter];
t->track_type= burn_track_get_mode(tracks[i]);
if(t->track_type == BURN_AUDIO)
if(t->track_type & BURN_AUDIO) {
t->sector_size= 2352;
else
t->track_type= BURN_AUDIO;
} else {
t->sector_size= 2048;
t->track_type= BURN_MODE1;
}
sectors= burn_track_get_sectors(tracks[i]);
t->fixed_size= sectors * t->sector_size;
t->libburn_track= tracks[i];

@ -1 +1 @@
#define Cdrskin_timestamP "2012.01.13.122205"
#define Cdrskin_timestamP "2012.01.13.141517"

Loading…
Cancel
Save