stagefright: propagate dataspace from BufferQueue to MediaCodec.

In addition to the plumbing, MPEG4Writer reads format() again when
writing color information, since it could have been updated from
BufferQueue at that time.

Bug: 160727754
Test: manual
Change-Id: I47894ce36f159ea6ddd6a5c2e1794b9690a86537
4 files changed