Fix wrong label in configure dialog and complete the save of the last window mode
This commit is contained in:
1 parent
dae6ab4156
commit
148981528d
5 files changed
+37
-22
No files matched your search
@@ -241,11 +241,15 @@ UInt64 PlaYUVerFrame::getBytesPerFrame( UInt uiWidth, UInt uiHeight, Int iPixelF
|
||||
|
||||
UInt PlaYUVerFrame::getChromaWidth() const
|
||||
{
|
||||
if( m_pcPelFormat->colorSpace == GRAY )
|
||||
return 0;
|
||||
return CHROMASHIFT( m_uiWidth, m_pcPelFormat->log2ChromaWidth );
|
||||
}
|
||||
|
||||
UInt PlaYUVerFrame::getChromaHeight() const
|
||||
{
|
||||
if( m_pcPelFormat->colorSpace == GRAY )
|
||||
return 0;
|
||||
return CHROMASHIFT( m_uiHeight, m_pcPelFormat->log2ChromaHeight );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user