mm-video: vidc: report read only ftb to client

In dynamic buffer mode, the firmware can continue to
hold on to an output buffer reference after returning
an FBD. In this case, the firmware marks the buffer
as READ_ONLY. The omx component should let client
know if the buffer is READ_ONLY or not, to prevent it
from modifying the contents of the buffer. In static
buffer mode, the READ_ONLY flag will never be set.

Change-Id: I0746dada5e505489099ca1d58c54eff70f136ea8
2 files changed