video_dec: Limit the number of added minUndequeuedBufs
authorSeungBeom Kim <sbcrux.kim@samsung.com>
Mon, 30 Mar 2015 15:46:38 +0000 (17:46 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Tue, 31 Mar 2015 17:19:13 +0000 (17:19 +0000)
commitf0f026d24dd4f38a8a197b78a17a6e6a1f348c16
tree6a7dd05a99a9b947feb663f39f0c24b959eae4f3
parent8bb5dc34cbb760a9b2bf65147b7f7f430b40e23a
video_dec: Limit the number of added minUndequeuedBufs

We try to allocate more memory than the memory size reserved in the
case of DRM play.

Backported-from: hardware/samsung_slsi/exynos5

Change-Id: I906ebd4fed95a860ef72176ee63e4a6a65c982b9
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
component/video/dec/Exynos_OMX_Vdec.h
component/video/dec/Exynos_OMX_VdecControl.c