Merge "mediacodec: Return an error on getOutputFormat if there is no output format yet"