Adjusted to new (more mature) speed info semantics

This commit is contained in:
Thomas Schmitt 2006-12-25 19:01:25 +00:00
parent 8e9262eb2d
commit 3263d513ce

View File

@ -277,7 +277,7 @@ int telltoc_media(struct burn_drive *drive)
max_speed = ((double ) ret) / speed_conv;
ret= burn_drive_get_min_write_speed(drive);
min_speed = ((double ) ret) / speed_conv;
if (strstr(profile_name, "CD") != profile_name)
if (!media_found)
printf("Drive speed : max=%.1f , min=%.1f\n",
max_speed, min_speed);
else