Minor bug fix when the resolution is not introduced
This commit is contained in:
1 parent
8d14c447eb
commit
f82a625790
2 files changed
+12
No files matched your search
@@ -77,6 +77,11 @@ bool ImageInterface::loadFile( const QString &fileName )
|
||||
|
||||
m_currStream.init( fileName, formatDialog.getResolution().width(), formatDialog.getResolution().height() );
|
||||
|
||||
if( m_currStream.getStatus() == 0 )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
m_currStream.readFrame();
|
||||
if( m_currStream.checkErrors( READING ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user