change the behaviour of read and display new frames: now the frame is

show and the new frame is saved in a buffer
This commit is contained in:
jfmcarreira committed 2014-03-26 01:27:53 +00:00
1 parent c538f35046
commit 495f0728c3
4 files changed
+66 -48

No files matched your search

+2 -2
View File
@@ -188,7 +188,7 @@ void plaYUVerApp::playEvent()
{
if( !activeSubWindow()->playEvent() )
{
stop();
//stop();
}
m_pcFrameSlider->setValue( activeSubWindow()->getInputStream()->getCurrFrameNum() );
}
@@ -637,7 +637,7 @@ void plaYUVerApp::updatePixelValueStatusBar(const QPoint & pos, InputStream* str
Int posX = pos.x(), posY = pos.y();
QString strPixel;
QString strStatus = QString("(%1,%2) ").arg(posX).arg(posY);
PlaYUVerFrame *curFrame = stream->getFrame();
PlaYUVerFrame *curFrame = stream->getCurrFrame();
iWidth = stream->getWidth();
iHeight = stream->getHeight();