liboverlay: Fix format masking
The format was masked earlier for interlaced
videos and 3D content. Remove this masking
Change-Id: Ia167ef5ca6405fcb430f7e1ae453092de3597c4a
diff --git a/liboverlay/overlayUtils.h b/liboverlay/overlayUtils.h
index 089d3fb..7d964a9 100644
--- a/liboverlay/overlayUtils.h
+++ b/liboverlay/overlayUtils.h
@@ -819,8 +819,10 @@
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