bugfix in seek function (#12) and the in windows selection dialog

This commit is contained in:
jfmcarreira committed 2014-05-31 15:23:11 +01:00
1 parent 0029c92901
commit a39c75c574
3 files changed
+36 -19

No files matched your search

+10 -4
View File
@@ -238,14 +238,20 @@ Void SubWindowHandle::pause()
Void SubWindowHandle::seekAbsoluteEvent( UInt new_frame_num )
{
m_pCurrStream->seekInput( new_frame_num );
refreshFrame();
if( m_pCurrStream )
{
m_pCurrStream->seekInput( new_frame_num );
refreshFrame();
}
}
Void SubWindowHandle::seekRelativeEvent( Bool bIsFoward )
{
m_pCurrStream->seekInput( m_pCurrStream->getCurrFrameNum() + ( bIsFoward ? 1 : -1 ) );
refreshFrame();
if( m_pCurrStream )
{
m_pCurrStream->seekInput( m_pCurrStream->getCurrFrameNum() + ( bIsFoward ? 1 : -1 ) );
refreshFrame();
}
}
Void SubWindowHandle::stop()