Corrected type and sector size for .cue generated tracks

This commit is contained in:
Thomas Schmitt 2012-01-13 14:15:20 +00:00
parent 66639c6e11
commit 0c01912143
2 changed files with 6 additions and 3 deletions

View File

@ -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];

View File

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