init format guessing
This commit is contained in:
1 parent
abb3210432
commit
a7fb2db9ae
3 files changed
+8
-7
No files matched your search
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user