proxy common: choose buffer 1st in AllocateBuffer
authorTyler Luu <tluu@ti.com>
Wed, 25 Apr 2012 22:03:54 +0000 (17:03 -0500)
committerTyler Luu <tluu@ti.com>
Thu, 24 May 2012 22:53:03 +0000 (17:53 -0500)
commit5db7c4afb1ac4eb05f3cba6600f750cf2979c0df
tree24866b55b1ba737addc4f6089bb6c65bab4adff8
parentf7061dd8a8c219cfc2d4b10c268b522bed707eb3
proxy common: choose buffer 1st in AllocateBuffer

Moving choose buffer logic to the beginning of
AllocateBuffer so we can use it to index tBufList
array when saving ion handle information

Fixes an issue missed by "domx: fix video record"

Change-Id: Icf5ddcda8b2ffdc67f5ac337b4e7b683b90c053f
Signed-off-by: Tyler Luu <tluu@ti.com>
domx/omx_proxy_common/src/omx_proxy_common.c