Test macro for SEND OPC INFORMATION before DVD-R track

This commit is contained in:
Thomas Schmitt 2009-11-04 08:46:17 +00:00
parent e78353b7dd
commit 4384b0c006
3 changed files with 16 additions and 5 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2009.11.03.184626"
#define Cdrskin_timestamP "2009.11.04.084506"

View File

@ -2761,10 +2761,12 @@ BURN_END_DECLS
*/
/* Experiment for problems with Pioneer DVR-216D:
In mode page 05h set LS_V to 1 and Link Size to 16.
(This is done by growisofs and by wodim in DAO mode although MMC-5
specifies that they do not matter for DAO.)
# define Libburn_pioneer_dvr_216d_lsv_onE 1
SEND OPC INFORMATION command with DoOPC=1 after eventually reserving a
track on sequential DVD-R[W].
wodim does this, growisofs sometimes, libburn only with this macro
Move the next line outside this remark and remove all blanks up to "define".
# define Libburn_pioneer_dvr_216d_with_opC 1
*/

View File

@ -1096,6 +1096,15 @@ int burn_disc_open_track_dvd_minus_r(struct burn_write_opts *o,
return 0;
}
}
#ifdef Libburn_pioneer_dvr_216d_with_opC
if (!o->simulate) {
fprintf(stderr, "libburn_DEBUG: Libburn_pioneer_dvr_216d_with_opC : performing OPC\n");
d->perform_opc(d);
fprintf(stderr, "libburn_DEBUG: Libburn_pioneer_dvr_216d_with_opC : done\n");
}
#endif
return 1;
}