diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 4a440c7f..fc6dc0d8 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2009.08.28.101716" +#define Xorriso_timestamP "2009.08.28.112825" diff --git a/xorriso/xorrisoburn.c b/xorriso/xorrisoburn.c index 78670843..06168f59 100644 --- a/xorriso/xorrisoburn.c +++ b/xorriso/xorrisoburn.c @@ -5203,8 +5203,11 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag) if(flag & 32) return(1); - sprintf(respt, "Media current: "); ret= burn_disc_get_profile(drive, &profile_no, profile_name); + s= isoburn_disc_get_status(drive); + if(profile_no == 0x0002 && s == BURN_DISC_EMPTY) + profile_no= 0; + sprintf(respt, "Media current: "); if (profile_no > 0 && ret > 0) { if (profile_name[0]) sprintf(respt+strlen(respt), "%s", profile_name); @@ -5221,7 +5224,6 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag) Xorriso_toc_line(xorriso, flag & 8); sprintf(respt, "Media status : "); - s= isoburn_disc_get_status(drive); if (s == BURN_DISC_FULL) { sprintf(respt+strlen(respt), "is written , is closed\n"); } else if (s == BURN_DISC_APPENDABLE) {