Bugfix when saving a module result frame

This commit is contained in:
jfmcarreira committed 2014-09-10 12:14:03 +01:00
1 parent 20fb699eee
commit 100b64931e
2 files changed
+27 -1

No files matched your search

+1
View File
@@ -536,6 +536,7 @@ Bool PlaYUVerStream::saveFrame( const QString& filename )
}
else
{
m_pcCurrFrame->FrametoRGB8();
QImage qimg = QImage( m_pcCurrFrame->getQImageBuffer(), m_pcCurrFrame->getWidth(), m_pcCurrFrame->getHeight(), QImage::Format_RGB888 );
return qimg.save( filename );
}