Bug fix: cdrskin -msinfo on DVD and BD reported old session start == next writable address. Regression introduced by version 1.2.8 (rev 4956).

This commit is contained in:
Thomas Schmitt 2013-05-30 13:31:06 +00:00
parent 21511e3fdf
commit 0178c42c20
2 changed files with 10 additions and 1 deletions

View File

@ -7872,6 +7872,15 @@ int Cdrskin_msinfo(struct CdrskiN *skin, int flag)
continue; continue;
burn_track_get_entry(tracks[0],&toc_entry); burn_track_get_entry(tracks[0],&toc_entry);
if(toc_entry.extensions_valid&1) { /* DVD extension valid */ 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; lba= toc_entry.start_lba;
} else { } else {
lba= burn_msf_to_lba(toc_entry.pmin,toc_entry.psec,toc_entry.pframe); lba= burn_msf_to_lba(toc_entry.pmin,toc_entry.psec,toc_entry.pframe);

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2013.05.26.185945" #define Cdrskin_timestamP "2013.05.30.133008"