Comment timer functions

This commit is contained in:
jfmcarreira committed 2014-04-02 02:03:54 +01:00
1 parent 908926877d
commit fc940c8867
1 file changed
+3 -3
+3 -3
View File
@@ -290,7 +290,7 @@ Bool InputStream::guessFormat( QString filename, UInt& rWidth, UInt& rHeight, In
Void InputStream::readNextFrame()
{
UInt64 bytes_read = 0;
m_cTimer.restart();
//m_cTimer.restart();
if( m_iStatus == 0 )
{
return;
@@ -323,8 +323,8 @@ Void InputStream::readNextFrame()
}
m_pcNextFrame->FrameFromBuffer( m_pInputBuffer, m_iPixelFormat );
}
Int time = m_cTimer.elapsed();
m_uiAveragePlayInterval = ( m_uiAveragePlayInterval + time) / 2;
//Int time = m_cTimer.elapsed();
//m_uiAveragePlayInterval = ( m_uiAveragePlayInterval + time) / 2;
m_pcNextFrame->FrametoRGB8();
return;
}