From bbb6315af0a66c0e9b180b0e8dd3b0d9b950cf6b Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 5 Mar 2013 18:54:19 +0000 Subject: [PATCH] Always considering mode page 2A when looking for min and max speed --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/mmc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index b2585d7..5c04a22 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2013.03.05.124508" +#define Cdrskin_timestamP "2013.03.05.185356" diff --git a/libburn/mmc.c b/libburn/mmc.c index 72abf88..8a371ba 100644 --- a/libburn/mmc.c +++ b/libburn/mmc.c @@ -2784,9 +2784,9 @@ void mmc_set_speed(struct burn_drive *d, int r, int w) if (r <= 0 || w <= 0) { /* ts A70712 : now searching for best speed descriptor */ if (w > 0 && r <= 0) - burn_drive_get_best_speed(d, r, &best_sd, 1); + burn_drive_get_best_speed(d, r, &best_sd, 1 | 2); else - burn_drive_get_best_speed(d, w, &best_sd, 0); + burn_drive_get_best_speed(d, w, &best_sd, 2); if (best_sd != NULL) { w = best_sd->write_speed; d->nominal_write_speed = w;