Modification of the plaYUVerApp::updateTotalFrameNum
This commit is contained in:
1 parent
1fcd74de72
commit
5f50f60a33
2 files changed
+6
-2
No files matched your search
@@ -476,10 +476,14 @@ Void plaYUVerApp::updateCurrFrameNum()
|
||||
m_pcFrameSlider->setValue( frame_num );
|
||||
m_pcCurrFrameNumLabel->setText( QString( tr( "%1" ) ).arg( frame_num + 1 ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_pcCurrFrameNumLabel->setText( "1" );
|
||||
}
|
||||
}
|
||||
Void plaYUVerApp::updateTotalFrameNum( UInt total_frame_num )
|
||||
{
|
||||
if( m_pcCurrentSubWindow && m_pcCurrentSubWindow->getInputStream() && total_frame_num == 0 )
|
||||
if( m_pcCurrentSubWindow && m_pcCurrentSubWindow->getInputStream() && total_frame_num == 1 )
|
||||
{
|
||||
total_frame_num = m_pcCurrentSubWindow->getInputStream()->getFrameNum();
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ private:
|
||||
Void startPlay();
|
||||
Void setTimerStatus();
|
||||
Void updateCurrFrameNum();
|
||||
Void updateTotalFrameNum( UInt total_frame_num = 0 );
|
||||
Void updateTotalFrameNum( UInt total_frame_num = 1 );
|
||||
|
||||
Void updateMenus();
|
||||
Void updateStreamProperties();
|
||||
|
||||
Reference in new issue
Block a user