Fix libav problems and correct playing timer

This commit is contained in:
jfmcarreira committed 2017-12-05 02:27:37 +00:00
1 parent 7280d26fab
commit 86feb437df
3 files changed
+65 -47

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ VideoHandle::VideoHandle( QWidget* parent, PlaYUVerSubWindowHandle* windowManage
m_bIsPlaying = false;
m_pcPlayingTimer = new QTimer;
#if( QT_VERSION_PLAYUVER == 5 )
m_pcPlayingTimer->setTimerType( Qt::VeryCoarseTimer );
m_pcPlayingTimer->setTimerType( Qt::PreciseTimer );
#endif
connect( m_pcPlayingTimer, SIGNAL( timeout() ), this, SLOT( playEvent() ) );
m_acPlayingSubWindows.clear();