Polished appearance of BD spare info with --list_formats

ZeroEightEight
Thomas Schmitt 12 years ago
parent e18bfe50c1
commit 7ceb67f0b0
  1. 8
      cdrskin/cdrskin.c
  2. 2
      cdrskin/cdrskin_timestamp.h

@ -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…
Cancel
Save