Avoid playing sequences with one frame only

This commit is contained in:
jfmcarreira committed 2014-06-26 01:59:58 +01:00
1 parent 947f7ed80a
commit 13e34a2269
3 files changed
+18 -13

No files matched your search

+10 -2
View File
@@ -208,9 +208,17 @@ Bool SubWindowHandle::save( QString filename )
return iRet;
}
Void SubWindowHandle::play()
Bool SubWindowHandle::play()
{
m_bIsPlaying = true;
if( m_pCurrStream && m_pCurrStream->getFrameNum() > 1 )
{
m_bIsPlaying = true;
}
else
{
m_bIsPlaying = false;
}
return m_bIsPlaying;
}
Int SubWindowHandle::playEvent()