From 889608843a036b7223c3a85be08a144cd8a5b438 Mon Sep 17 00:00:00 2001 From: Naseer Ahmed Date: Thu, 21 Jun 2012 20:52:18 -0700 Subject: [PATCH] liboverlay: Fix format masking The format was masked earlier for interlaced videos and 3D content. Remove this masking Change-Id: Ia167ef5ca6405fcb430f7e1ae453092de3597c4a --- liboverlay/overlayUtils.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 @@ struct RotOutFmt 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