Fix frame to ARGB from GRAY when bpp is different than 8
This commit is contained in:
@@ -372,7 +372,7 @@ Void PlaYUVerFrame::fillRGBBuffer()
|
||||
iR = *pR++;
|
||||
iG = *pG++;
|
||||
iB = *pB++;
|
||||
*pARGB++ = PEL_RGB( iR, iG, iB );
|
||||
*pARGB++ = PEL_RGB( ( iR >> shiftBits ), ( iG >> shiftBits ), ( iB >> shiftBits ) );
|
||||
}
|
||||
}
|
||||
else if( m_pcPelFormat->colorSpace == COLOR_YUV )
|
||||
|
||||
Reference in New Issue
Block a user