Fix bug when parsing the filename and when refreshing module after window swap
This commit is contained in:
1 parent
877087ee4e
commit
43e8a34894
2 files changed
+4
-5
No files matched your search
@@ -284,7 +284,7 @@ Bool InputStream::guessFormat( QString filename, UInt& rWidth, UInt& rHeight, In
|
||||
break;
|
||||
}
|
||||
}
|
||||
if( rWidth >= 0 && rHeight >= 0 && rInputFormat >= 0 )
|
||||
if( rWidth > 0 && rHeight > 0 && rInputFormat >= 0 )
|
||||
bRet = false;
|
||||
}
|
||||
return bRet;
|
||||
|
||||
@@ -144,7 +144,6 @@ Void SubWindowHandle::swapModuleFrames()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Void SubWindowHandle::setCurrFrame( PlaYUVerFrame* pcCurrFrame )
|
||||
{
|
||||
m_pcCurrFrame = pcCurrFrame;
|
||||
@@ -166,9 +165,9 @@ Void SubWindowHandle::refreshFrame()
|
||||
else
|
||||
{
|
||||
if( m_pcCurrentModule )
|
||||
{
|
||||
bSetFrame = ModulesHandle::applyModuleIf( m_pcCurrentModule, m_bIsPlaying );
|
||||
}
|
||||
{
|
||||
bSetFrame = ModulesHandle::applyModuleIf( m_pcCurrentModule, m_bIsPlaying );
|
||||
}
|
||||
}
|
||||
if( bSetFrame )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user