exynos5: libgscaler: added the V4L2_PIX_FMT for YUV420P
authorYongbae Song <yb.song@samsung.com>
Fri, 29 Jun 2012 06:33:42 +0000 (15:33 +0900)
committerGreg Hackmann <ghackmann@google.com>
Wed, 1 Aug 2012 22:37:54 +0000 (15:37 -0700)
V4L2_PIX_FMT for YUV420P is missed in the libgscaler code.
The missed V4L2_PIX_FMT code has been added.

Change-Id: I6db81a9ce3acbb44dc4fd10a767a679298f53e3b
Signed-off-by: Yongbae Song <yb.song@samsung.com>
libgscaler/exynos_gscaler.c

index d63cbfde309d2907370b58a61bf73164684511fe..0ca0d6a7460484ea7a94fb80a2167c2c0b20ef17 100755 (executable)
@@ -68,6 +68,7 @@ static unsigned int m_gsc_get_plane_count(
         break;
     case V4L2_PIX_FMT_YVU420M:
     case V4L2_PIX_FMT_YUV422P:
+    case V4L2_PIX_FMT_YUV420M:
         plane_count = 3;
         break;
     default: