[svn] / trunk / xvidextra / src / apps / miniconvert / filters.cpp Repository:
ViewVC logotype

Diff of /trunk/xvidextra/src/apps/miniconvert/filters.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2047, Thu Oct 6 18:10:33 2011 UTC revision 2048, Fri Oct 7 18:03:59 2011 UTC
# Line 139  Line 139 
139      m_TotalDataSize += pSample->GetActualDataLength();      m_TotalDataSize += pSample->GetActualDataLength();
140      m_SampleCnt++;      m_SampleCnt++;
141    
142      int CurPos = (int) (m_TotalFrames ? (((double)(100 * m_SampleCnt/m_TotalFrames) + 0.5)) : 0);      int CurPos = (int) (m_TotalFrames ? (((double)(100 * m_SampleCnt/m_TotalFrames) + 0.5)) : ((double)(100*m_TotalDataSize / (1024*m_curSize)) + 0.5));
143    
144          if (m_Pass == 0) {          if (m_Pass == 0) {
145            CurPos /= 2;            CurPos /= 2;

Legend:
Removed from v.2047  
changed lines
  Added in v.2048

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4