Issueing a warning messages if BD-R with more than 299 sessions is loaded
This commit is contained in:
parent
5d85defafa
commit
0e56c03b04
@ -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…
Reference in New Issue
Block a user