diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index 7b23ff1..d8e8136 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -7872,6 +7872,15 @@ int Cdrskin_msinfo(struct CdrskiN *skin, int flag) continue; burn_track_get_entry(tracks[0],&toc_entry); if(toc_entry.extensions_valid&1) { /* DVD extension valid */ + if(session_no >= num_sessions) { + if(!(toc_entry.extensions_valid & 4)) + continue; /* open session with no track status bits from libburn */ + if((toc_entry.track_status_bits & (1 << 14)) || + !((toc_entry.track_status_bits & (1 << 16)) || + ((toc_entry.track_status_bits & (1 << 17)) && + toc_entry.last_recorded_address > toc_entry.start_lba))) + continue; /* Blank or not appendable and not recorded */ + } lba= toc_entry.start_lba; } else { lba= burn_msf_to_lba(toc_entry.pmin,toc_entry.psec,toc_entry.pframe); diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 9b2c620..0d0d6a4 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2013.05.26.185945" +#define Cdrskin_timestamP "2013.05.30.133008"