From fa95326bac49f0eb0c513329b4c195d81f847aa2 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 13 Sep 2012 08:57:31 +0000 Subject: [PATCH] Bug fix: Speed setting had no effect on BD media. Thanks to Dennis Vshivkov. --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/mmc.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index fe4bc01..5c6843c 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2012.08.28.161949" +#define Cdrskin_timestamP "2012.09.13.085623" diff --git a/libburn/mmc.c b/libburn/mmc.c index ce7da1f..8517921 100644 --- a/libburn/mmc.c +++ b/libburn/mmc.c @@ -2563,7 +2563,9 @@ void mmc_set_speed(struct burn_drive *d, int r, int w) d->nominal_write_speed = w; /* ts A61221 : try to set DVD speed via command B6h */ - if (strstr(d->current_profile_text, "DVD") == d->current_profile_text){ + if (strstr(d->current_profile_text, "DVD") == d->current_profile_text + || + strstr(d->current_profile_text, "BD") == d->current_profile_text) { ret = mmc_set_streaming(d, r, w, end_lba); if (ret != 0) return; /* success or really fatal failure */