|
|
|
@ -298,7 +298,7 @@ double k9CellCopyList::getMinFactor(bool _withMenus) {
|
|
|
|
|
|
|
|
|
|
double minFactor=(fforced-m_frcinbytes) /(MaxSize- (totalSize +m_outbytes) - m_frcoutbytes) ;
|
|
|
|
|
tqDebug("%s", (TQString("minfactor(%1)=(fforced(%2) -m_frinbytes(%3))/(MacSize(%4)-totalSize(%5)-m_outbytes(%6) - m_frcoutbytes(%7))").arg(minFactor).arg(fforced).arg(m_frcinbytes).arg(MaxSize).arg(totalSize).arg(m_outbytes).arg(m_frcoutbytes)).ascii());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (minFactor<1)
|
|
|
|
|
minFactor=1;
|
|
|
|
|
return minFactor;
|
|
|
|
@ -347,7 +347,7 @@ double k9CellCopyList::getfactor(bool _withMenus,bool _streams) {
|
|
|
|
|
|
|
|
|
|
if (dvdSize2 <0) {
|
|
|
|
|
factor=2.5;
|
|
|
|
|
//tqDebug(TQString("dvdSize (%1)- _outbytes(%2) - fforcedsh(%3)=%4").arg(dvdSize).arg(m_outbytes).arg(fforcedsh).arg(dvdSize2));
|
|
|
|
|
//tqDebug("%s", (TQString("dvdSize (%1)- _outbytes(%2) - fforcedsh(%3)=%4").arg(dvdSize).arg(m_outbytes).arg(fforcedsh).arg(dvdSize2).ascii()));
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
factor=(totalSize +menuSize - fforced -m_inbytes)/ dvdSize2 ;
|
|
|
|
@ -361,7 +361,7 @@ double k9CellCopyList::getfactor(bool _withMenus,bool _streams) {
|
|
|
|
|
uint64_t i=m_inbytes;
|
|
|
|
|
//if (o==0)
|
|
|
|
|
// o=1;
|
|
|
|
|
//tqDebug(TQString("factor : %1 realise : %2").arg(factor).arg((double)i/(double)o));
|
|
|
|
|
//tqDebug("%s", (TQString("factor : %1 realise : %2").arg(factor).arg((double)i/(double)o).ascii()));
|
|
|
|
|
|
|
|
|
|
if (factor<=1)
|
|
|
|
|
factor=1;
|
|
|
|
|