Avoid playing sequences with one frame only
This commit is contained in:
1 parent
947f7ed80a
commit
13e34a2269
3 files changed
+18
-13
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user