Bugfix when saving a module result frame
This commit is contained in:
1 parent
20fb699eee
commit
100b64931e
2 files changed
+27
-1
No files matched your search
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user