mm-video: Add extradata size to output buffer size only on client's request

Extradata size should be added to output buffer size only
if client has requested that extradata. Without this fix,
gralloc might allocate less buffer size than needed causing
playback failures.

Change-Id: Id0e93e0c1b4b801856efc18682d0b42c1df3643d
2 files changed