libhwc: The gscaler -> mixer local output only supports YCbCr
authorBenoit Goby <benoit@android.com>
Wed, 11 Jul 2012 03:12:16 +0000 (20:12 -0700)
committerBenoit Goby <benoit@android.com>
Wed, 11 Jul 2012 03:24:42 +0000 (20:24 -0700)
Change-Id: I4e74b74b3b12fdcae2a1e0cd2b471e9d85c6b01a
Signed-off-by: Benoit Goby <benoit@android.com>
libhwc/hwc.cpp

index 2d2309c42ad1f8c17abcf1c7b79dac2f173f0ad7..691219e34e8d19ea3a50dc48161611b767c43acd 100644 (file)
@@ -216,7 +216,7 @@ static int hdmi_enable(struct exynos5_hwc_composer_device_1_t *dev)
        dst_info.h = dst_h;
        dst_info.fw = dst_w;
        dst_info.fh = dst_h;
-       dst_info.format = HAL_PIXEL_FORMAT_RGBA_8888;
+       dst_info.format = HAL_PIXEL_FORMAT_YV12;
 
        int ret = exynos_gsc_config_exclusive(dev->hdmi_gsc, &src_info, &dst_info);
        if (ret < 0) {