Polished appearance of BD spare info with --list_formats
This commit is contained in:
parent
e18bfe50c1
commit
7ceb67f0b0
@ -5691,12 +5691,10 @@ int Cdrskin_list_formats(struct CdrskiN *skin, int flag)
|
||||
} else
|
||||
sprintf(status_text, "illegal status according to MMC-5");
|
||||
printf("Format status: %s\n", status_text);
|
||||
|
||||
ret= burn_disc_get_bd_spare_info(drive, &alloc_blocks, &free_blocks, 0);
|
||||
if(ret == 1) {
|
||||
printf("BD Spare Area consumed: %d\n", alloc_blocks - free_blocks);
|
||||
printf("BD Spare Area available: %d\n", free_blocks);
|
||||
}
|
||||
if(ret == 1)
|
||||
printf("BD Spare Area: %d blocks consumed, %d blocks available\n",
|
||||
alloc_blocks - free_blocks, free_blocks);
|
||||
|
||||
for (i = 0; i < num_formats; i++) {
|
||||
ret= burn_disc_get_format_descr(drive, i, &type, &size, &dummy);
|
||||
|
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2010.09.24.092535"
|
||||
#define Cdrskin_timestamP "2010.09.24.100255"
|
||||
|
Loading…
Reference in New Issue
Block a user