Add function to return current format and set initial parameters

This commit is contained in:
jfmcarreira committed 2014-03-31 00:06:06 +01:00
1 parent a10963ce13
commit cd5b92f41b
3 files changed
+64 -44

No files matched your search

+2
View File
@@ -75,6 +75,8 @@ Bool SubWindowHandle::loadFile( const QString &fileName )
UInt Width = 0, Height = 0, FrameRate = 30;
Int InputFormat = -1;
m_pCurrStream->getFormat( Width, Height, InputFormat, FrameRate );
if( m_pCurrStream->guessFormat( fileName, Width, Height, InputFormat, FrameRate ) )
{
ConfigureFormatDialog formatDialog( this );