Bug fix: Speed setting had no effect on BD media. Thanks to Dennis Vshivkov.

This commit is contained in:
Thomas Schmitt 2012-09-13 08:57:31 +00:00
parent eb86e5298a
commit fa95326bac
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2012.08.28.161949"
#define Cdrskin_timestamP "2012.09.13.085623"

View File

@ -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 */