Fix wrong label in configure dialog and complete the save of the last window mode

This commit is contained in:
jfmcarreira committed 2015-04-09 17:08:41 +01:00
1 parent dae6ab4156
commit 148981528d
5 files changed
+37 -22

No files matched your search

+4
View File
@@ -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 );
}