From a8c1cec56ce887980047fbd7c1f421d26ed9be69 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. --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/mmc.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index fe4bc015..5c6843cf 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2012.08.28.161949" +#define Cdrskin_timestamP "2012.09.13.085623" diff --git a/libburn/trunk/libburn/mmc.c b/libburn/trunk/libburn/mmc.c index ce7da1f6..85179219 100644 --- a/libburn/trunk/libburn/mmc.c +++ b/libburn/trunk/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 */