diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 9b4a71e..eca8010 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2009.11.03.184626" +#define Cdrskin_timestamP "2009.11.04.084506" diff --git a/libburn/libburn.h b/libburn/libburn.h index 8c0c58c..0da7b16 100644 --- a/libburn/libburn.h +++ b/libburn/libburn.h @@ -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 */ diff --git a/libburn/write.c b/libburn/write.c index cdd4ee6..7554182 100644 --- a/libburn/write.c +++ b/libburn/write.c @@ -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; }