HACK: exynos5: gscaler: do not skip s_fmt/reqbufs on gsc_convert path
authorDima Zavin <dima@android.com>
Sat, 4 Aug 2012 08:15:15 +0000 (01:15 -0700)
committerDima Zavin <dima@android.com>
Sun, 5 Aug 2012 04:41:06 +0000 (21:41 -0700)
commit7bc63d1fa0e161081a7647b3b27ecf5a8aafc104
tree268c1e94b180a84747de9102f677ff9e3aa77b7e
parent24eadba90486f04d1755de644e21b4eaeb7afe3e
HACK: exynos5: gscaler: do not skip s_fmt/reqbufs on gsc_convert path

This fixes the bug where still capture always captures the same
image and video recording only taking first image.

The issue is that reqbufs is reset to 0 and fmt is not set
when the buffers try to be enqueued and stremaing turned on in the path
from csc_convert().

This is temporary as the gscaler code really needs a huge cleanup.

Bug: 6925368
Change-Id: Ia8e3aee0e0b50c6a69e1eda219e484713088c042
Signed-off-by: Dima Zavin <dima@android.com>
libgscaler/exynos_gscaler.c