Issueing a warning messages if BD-R with more than 299 sessions is loaded

master
Thomas Schmitt 11 years ago
parent 2d7ac24525
commit 44cdc02804
  1. 6
      xorriso/drive_mgt.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -1103,6 +1103,12 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag)
Xorriso_toc_line(xorriso, flag & 8);
}
}
if(profile_no == 0x41 && num_sessions >= 300) {
sprintf(xorriso->info_text,
"Sequential BD-R media now contains %d sessions. It is likely to soon fail writing.",
num_sessions);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", 0);
}
if (disc!=NULL)
isoburn_toc_disc_free(disc);

@ -1 +1 @@
#define Xorriso_timestamP "2011.07.25.095843"
#define Xorriso_timestamP "2011.07.25.103809"

Loading…
Cancel
Save