Remove errors from PlayuverStream. Errors are checked individually

This commit is contained in:
jfmcarreira committed 2015-02-27 19:25:17 +00:00
1 parent d1bf933928
commit e74019e0b1
3 files changed
+15 -40

No files matched your search

+6 -6
View File
@@ -450,17 +450,17 @@ Bool VideoSubWindow::play()
Bool VideoSubWindow::playEvent()
{
Bool bEndOfSeq = false;
if( m_pCurrStream && m_bIsPlaying )
{
m_pCurrStream->setNextFrame();
refreshFrame();
if( m_pCurrStream->checkErrors( PlaYUVerStream::END_OF_SEQ ) )
bEndOfSeq = m_pCurrStream->setNextFrame();
if( !bEndOfSeq )
{
return true;
refreshFrame();
m_pCurrStream->readFrame();
}
m_pCurrStream->readFrame();
}
return false;
return bEndOfSeq;
}
Void VideoSubWindow::pause()