diff options
author | Chong Zhang <chz@google.com> | 2014-07-11 16:17:14 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2014-07-11 16:19:13 -0700 |
commit | 749dafad09d85f2aaf6902a7ff16b4087e3bc4c7 (patch) | |
tree | 993ec568afe921d76350514bce0f52c643621c91 /include | |
parent | c5619c7a6dcc1137fde7520351ad5284e3e958ab (diff) | |
download | frameworks_av-749dafad09d85f2aaf6902a7ff16b4087e3bc4c7.zip frameworks_av-749dafad09d85f2aaf6902a7ff16b4087e3bc4c7.tar.gz frameworks_av-749dafad09d85f2aaf6902a7ff16b4087e3bc4c7.tar.bz2 |
MediaCodec: change onError cb to return CodecException
Bug: 11990118
Change-Id: I3278aecb20df88c42fa2709a66e6166eb3cbe56f
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/MediaCodec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/MediaCodec.h b/include/media/stagefright/MediaCodec.h index 046496c..a0ff997 100644 --- a/include/media/stagefright/MediaCodec.h +++ b/include/media/stagefright/MediaCodec.h @@ -279,7 +279,7 @@ private: void onInputBufferAvailable(); void onOutputBufferAvailable(); - void onError(int32_t actionCode, status_t err); + void onError(status_t err, int32_t actionCode, const char *detail = NULL); void onOutputFormatChanged(); status_t onSetParameters(const sp<AMessage> ¶ms); |