From c81e6b8bf659edf2ca501c54bbc77de2268344c2 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 --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/mmc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index b2585d7f..5c04a22f 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2013.03.05.124508" +#define Cdrskin_timestamP "2013.03.05.185356" diff --git a/libburn/trunk/libburn/mmc.c b/libburn/trunk/libburn/mmc.c index 72abf889..8a371ba7 100644 --- a/libburn/trunk/libburn/mmc.c +++ b/libburn/trunk/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;