Fix seek problems and minor changes in PlaYUVerFrame
This commit is contained in:
1 parent
06783ab4ae
commit
46852ed15c
3 files changed
+12
-7
No files matched your search
@@ -694,9 +694,13 @@ Void plaYUVerApp::seekEvent( Int direction )
|
||||
{
|
||||
if( m_acPlayingSubWindows.contains( m_pcCurrentSubWindow ) )
|
||||
{
|
||||
for( Int i = 0; i < m_acPlayingSubWindows.size(); i++ )
|
||||
Int frame_num = m_pcCurrentSubWindow->getInputStream()->getCurrFrameNum();
|
||||
if( !( (frame_num + 1) >= getMaxFrameNumber() && direction > 0 ) )
|
||||
{
|
||||
m_acPlayingSubWindows.at( i )->seekRelativeEvent( direction > 0 ? true : false );
|
||||
for( Int i = 0; i < m_acPlayingSubWindows.size(); i++ )
|
||||
{
|
||||
m_acPlayingSubWindows.at( i )->seekRelativeEvent( direction > 0 ? true : false );
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -745,6 +749,8 @@ Void plaYUVerApp::lockButtonEvent()
|
||||
m_acPlayingSubWindows.clear();
|
||||
}
|
||||
}
|
||||
updateCurrFrameNum();
|
||||
updateTotalFrameNum();
|
||||
}
|
||||
|
||||
Void plaYUVerApp::videoSelectionButtonEvent()
|
||||
|
||||
Reference in new issue
Block a user