Bug fix in the play function
Everytime play is hit it should always order the sub window to play
This commit is contained in:
1 parent
3c7b54a222
commit
a5a9b7e044
1 file changed
+9
-7
@@ -437,8 +437,11 @@ Void plaYUVerApp::setTimerStatus()
|
||||
}
|
||||
if( status )
|
||||
{
|
||||
m_cTimer.start();
|
||||
m_bIsPlaying = true;
|
||||
if( !m_bIsPlaying )
|
||||
{
|
||||
m_cTimer.start();
|
||||
m_bIsPlaying = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -472,13 +475,12 @@ Void plaYUVerApp::play()
|
||||
|
||||
if( m_arrayActions[VIDEO_LOCK_ACT]->isChecked() && m_acPlayingSubWindows.size() )
|
||||
{
|
||||
if( !m_pcCurrentSubWindow->play() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
if( !m_acPlayingSubWindows.contains( m_pcCurrentSubWindow ) )
|
||||
{
|
||||
if( !m_pcCurrentSubWindow->play() )
|
||||
{
|
||||
return;
|
||||
startPlay();
|
||||
}
|
||||
m_acPlayingSubWindows.append( m_pcCurrentSubWindow );
|
||||
m_pcCurrentSubWindow->seekAbsoluteEvent( m_acPlayingSubWindows.at( 0 )->getInputStream()->getCurrFrameNum() );
|
||||
updateTotalFrameNum();
|
||||
|
||||
Reference in new issue
Block a user