From fc940c88674603a6d039ef232ae698ecc8bb9943 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Wed, 2 Apr 2014 02:03:54 +0100 Subject: [PATCH] Comment timer functions --- source/app/InputStream.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/app/InputStream.cpp b/source/app/InputStream.cpp index 94533b1..394eed7 100755 --- a/source/app/InputStream.cpp +++ b/source/app/InputStream.cpp @@ -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; }