Blank sequential DVD-RW, deformat overwriteable DVD-RW

This commit is contained in:
2007-01-31 12:59:51 +00:00
parent 0665eeecff
commit 163509011c
4 changed files with 111 additions and 87 deletions

View File

@ -235,9 +235,11 @@ void burn_disc_erase(struct burn_drive *drive, int fast)
/* ts A70103 moved up from burn_disc_erase_sync() */
/* ts A60825 : allow on parole to blank appendable CDs */
/* ts A70131 : allow blanking of overwriteable DVD-RW (profile 0x13) */
if ( ! (drive->status == BURN_DISC_FULL ||
(drive->status == BURN_DISC_APPENDABLE &&
! libburn_back_hack_42) ) ) {
! libburn_back_hack_42) ||
drive->current_profile == 0x13 ) ) {
libdax_msgs_submit(libdax_messenger, drive->global_index,
0x00020130,
LIBDAX_MSGS_SEV_SORRY, LIBDAX_MSGS_PRIO_HIGH,
@ -246,6 +248,10 @@ void burn_disc_erase(struct burn_drive *drive, int fast)
return;
}
/* ts A70131 : i get awful results with fast blanking DVD-RW */
if (drive->current_profile == 0x13 || drive->current_profile == 0x14)
fast = 0;
o.drive = drive;
o.fast = fast;
add_worker(drive, (WorkerFunc) erase_worker_func, &o);