Add function to return current format and set initial parameters
This commit is contained in:
1 parent
a10963ce13
commit
cd5b92f41b
3 files changed
+64
-44
No files matched your search
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user