init format guessing

This commit is contained in:
jfmcarreira committed 2014-03-29 01:26:45 +00:00
1 parent abb3210432
commit a7fb2db9ae
3 files changed
+8 -7

No files matched your search

+3 -1
View File
@@ -74,9 +74,11 @@ SubWindowHandle::~SubWindowHandle()
Bool SubWindowHandle::loadFile( const QString &fileName )
{
UInt Width, Height, rFrameRate;
Int InputFormat;
ConfigureFormatDialog formatDialog( this );
if( m_pCurrStream->needFormatDialog( fileName ) )
if( m_pCurrStream->guessFormat( fileName, Width, Height, InputFormat, rFrameRate ) )
{
if( formatDialog.exec() == QDialog::Rejected )
{