vidc: Set number of buffers to the actual buffer count

Set the number of buffers count to actual buffer count
along with the minimum buffer count variable in case of
slice delivery mode. If not the set buffer requirements
will fail resulting in video encoder failures when
slice delivery mode enabled.

Change-Id: Id80983ecb809c8019bfc90f83b3cbe6bd95830ec
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
1 file changed