# Backported from SVN # Fixes https://bugs.kde.org/show_bug.cgi?id=182725 # Since nobody cares about the far superior KDE3 but a few (myself included), I did this # Matt Parnell/ilikenwf --- libk3b/jobs/k3bvideodvdtitletranscodingjob.cpp.orig 2009-08-18 00:49:39.071036685 -0500 +++ libk3b/jobs/k3bvideodvdtitletranscodingjob.cpp 2009-08-18 00:49:51.374851244 -0500 @@ -206,10 +206,11 @@ *d->process << "--nice" << "19"; // we only need 100 steps, but to make sure we use 150 + int progressRate = QMAX( 1, ( int )m_dvd[m_titleNumber-1].playbackTime().totalFrames()/150 ); if ( d->usedTranscodeBin->version.simplify() >= K3bVersion( 1, 1, 0 ) ) - *d->process << "--progress_meter" << "2" << "--progress_rate" << QString::number(m_dvd[m_titleNumber-1].playbackTime().totalFrames()/150); + *d->process << "--progress_meter" << "2" << "--progress_rate" << QString::number(progressRate); else - *d->process << "--print_status" << QString::number(m_dvd[m_titleNumber-1].playbackTime().totalFrames()/150); + *d->process << "--print_status" << QString::number(progressRate); // the input *d->process << "-i" << m_dvd.device()->blockDeviceName();