commit | 972f2321583ef4094477271e0fc6a1d05a1a0eea | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Fri Jul 13 12:48:19 2012 +0300 |
committer | Andreas Huber <andih@google.com> | Tue Aug 07 11:08:12 2012 -0700 |
tree | ae5c8ddade5a100486d8a989c7c4d755b7908d60 | |
parent | 97197157cf619fb716710eb67915fdfa93502750 [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