Fix debug code when using video lock

This commit is contained in:
2015-03-19 00:00:29 +00:00
parent 02d1152049
commit 5859511d56
+5 -4
View File
@@ -401,12 +401,13 @@ Void VideoHandle::setTimerStatus()
else
{
#if( _CONTROL_PLAYING_TIME_ == 1 )
qDebug( ) << "Desired Fps: "
<< 1000 / m_pcPlayingTimer->interval()
<< "Real Fps: "
<< 1000 / m_dAverageFps;
if( m_pcPlayControlTimer )
{
qDebug( ) << "Desired Fps: "
<< 1000 / m_pcPlayingTimer->interval()
<< "Real Fps: "
<< 1000 / m_dAverageFps;
delete m_pcPlayControlTimer;
m_pcPlayControlTimer = NULL;
}