diff options
author | Marco Nelissen <marcone@google.com> | 2014-05-27 19:40:08 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-27 19:40:08 +0000 |
commit | 7b2b401a1decf286890171a6791b7a6aa8b80ca7 (patch) | |
tree | e23d90c8a5bb80c0e816680e54a098b514ab12ea /include | |
parent | 018d324dc599c5f4238a4cd631baac47c28d59fe (diff) | |
parent | e22a64b6887240fc9910d6fc8afb0e6f81507047 (diff) | |
download | frameworks_av-7b2b401a1decf286890171a6791b7a6aa8b80ca7.zip frameworks_av-7b2b401a1decf286890171a6791b7a6aa8b80ca7.tar.gz frameworks_av-7b2b401a1decf286890171a6791b7a6aa8b80ca7.tar.bz2 |
Merge "Remove codec callback for now."
Diffstat (limited to 'include')
-rw-r--r-- | include/ndk/NdkMediaCodec.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/ndk/NdkMediaCodec.h b/include/ndk/NdkMediaCodec.h index 2f000d7..c07f4c9 100644 --- a/include/ndk/NdkMediaCodec.h +++ b/include/ndk/NdkMediaCodec.h @@ -163,17 +163,6 @@ media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec*, size_t idx, bool re media_status_t AMediaCodec_releaseOutputBufferAtTime( AMediaCodec *mData, size_t idx, int64_t timestampNs); -typedef void (*OnCodecEvent)(AMediaCodec *codec, void *userdata); - -/** - * Set a callback to be called when a new buffer is available, or there was a format - * or buffer change. - * Note that you cannot perform any operations on the mediacodec from within the callback. - * If you need to perform mediacodec operations, you must do so on a different thread. - */ -media_status_t AMediaCodec_setNotificationCallback( - AMediaCodec*, OnCodecEvent callback, void *userdata); - typedef enum { AMEDIACODECRYPTOINFO_MODE_CLEAR = 0, |