Classified media with TOC read error as unsuitable (rather than as blank)

This commit is contained in:
2006-10-20 15:16:29 +00:00
parent af44cbccf2
commit 4718ad99f9
6 changed files with 67 additions and 6 deletions

View File

@ -171,6 +171,7 @@ or
#define Cdrskin_libburn_has_burn_aborT 1
#define Cdrskin_libburn_has_audioxtR 1
#define Cdrskin_libburn_has_get_start_end_lbA 1
#define Cdrskin_libburn_has_burn_disc_unsuitablE 1
#endif
#ifndef Cdrskin_libburn_versioN
@ -3156,6 +3157,18 @@ int Cdrskin_report_disc_status(struct CdrskiN *skin, enum burn_disc_status s,
"BURN_DISC_APPENDABLE \"There is an incomplete disc in the drive\"\n");
} else if(s==BURN_DISC_EMPTY) {
printf("BURN_DISC_EMPTY \"There is no disc at all in the drive\"\n");
} else if(s==BURN_DISC_UNREADY) {
printf("BURN_DISC_UNREADY \"The current status is not yet known\"\n");
#ifdef Cdrskin_libburn_has_burn_disc_unsuitablE
} else if(s==BURN_DISC_UNGRABBED) {
printf("BURN_DISC_UNGRABBED \"API usage error: drive not grabbed\"\n");
} else if(s==BURN_DISC_UNSUITABLE) {
printf("BURN_DISC_UNSUITABLE \"Media is not suitable\"\n");
#endif /* Cdrskin_libburn_has_burn_disc_unsuitablE */
} else
printf("-unknown status code-\n");
return(1);