commit | 5c63a648f943b0ec91c3262ced77d1598ff32093 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Fri Jul 13 12:48:19 2012 +0300 |
committer | Martin Storsjo <martin@martin.st> | Fri Jul 13 14:09:22 2012 +0300 |
tree | 121b6750448db559bd9785d16d3a69cc93b95f68 | |
parent | ffb829430ff20ccd6c13e6ed894f2373b2d93939 [diff] |
mediacodec: Return an error on getOutputFormat if there is no output format yet This avoids crashing if calling the public java method MediaCodec.getOutputFormat immediately after MediaCodec.start (as the documentation example shows that one should do!). Change-Id: Icd3dd7ab9ae9e8f2a67cef171ff176735de95f58