mm-video-v4l2: venc: add support for eos buffer handling

In opaque mode when eos flag comes with null buffer, the buffer picked
for propagating eos can be of different size. This could fail in v4l2
framework. This change updates the eos buffer size to be the same as
the earlier buffer.

Change-Id: If5a974ce7d99632531045a57cf3a9e2ec68d15c5
2 files changed