Bug 240310 - k3b produces invalid cdrecord parameter for non-integer burning speed
Summary: k3b produces invalid cdrecord parameter for non-integer burning speed
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: Burning/Hardware (show other bugs)
Version: 1.92.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Michał Małek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 02:47 UTC by Frank Steinmetzger
Modified: 2010-06-06 20:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2010-06-01 02:47:48 UTC
Version:           1.92.0 (using KDE 4.4.3) 
OS:                Linux

I was burning an ISO to a DVD+RW. The speed selector offered Automatic, 2,4x and 4x. Because I had read errors with the automatic-speed burn, I tried 2,4x. But k3b aborted with the error message "invalid cdrecord parameter: peed=2.4"
Obviosly that should have been speed=2.4. However, man cdrecord says it only accepts integer values anyway.
(the DVD is a 4,7GB Medion DVD+RW with 4x maximum speed).

Reproducible: Always

Steps to Reproduce:
Select a non-integer burning speed in the Burning dialogue.

Actual Results:  
k3b creates wrong cdrecord parameter if selected burning speed is non-integer, thus burning fails.

Expected Results:  
The produces cdrecord parameters should be valid. :)
Comment 1 Michał Małek 2010-06-06 20:43:16 UTC
SVN commit 1135188 by mmalek:

Cdrecord doesn't accept fractional write speed values. For such speed values pass to it rounded value (e.g. 2 instead of 2.4).
Growisofs doesn't have issues with it.
BUG: 240310


 M  +2 -1      ChangeLog  
 M  +3 -2      libk3b/core/k3bglobals.cpp  
 M  +16 -4     libk3b/core/k3bglobals.h  
 M  +10 -18    libk3b/projects/k3bcdrecordwriter.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1135188