liboverlay: Fix format masking

The format was masked earlier for interlaced
videos and 3D content. Remove this masking

Change-Id: Ia167ef5ca6405fcb430f7e1ae453092de3597c4a
This commit is contained in:
Naseer Ahmed 2012-06-21 20:52:18 -07:00 committed by Gohulan Balachandran
parent 996d07075c
commit 889608843a

View File

@ -819,8 +819,10 @@ struct RotOutFmt<ROT_OUT_FMT_Y_CRCB_H2V2>
inline uint32_t getColorFormat(uint32_t format)
{
return (format == HAL_PIXEL_FORMAT_YV12) ?
format : colorFormat(format);
//XXX: Earlier this used to mask the format
//to check for interlaced or 3D. Just return
//the format now
return format;
}
// FB0