commit | 600fd56c08c70091b6e75707cf0715df00f4e569 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Oct 05 23:33:33 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Oct 05 23:33:33 2018 +0000 |
tree | 5f2edda9a0ee0a860e96ce44231f78d3ad2e3bc9 | |
parent | 3c5b1b7150257e33d4ee14166d577d1d644a31b2 [diff] | |
parent | 003dbc53a0b8a9901dd7c3d6938707c81a696620 [diff] |
Merge "Add bitrate information to metadata for AAC."
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index 4b04408..92e72b9 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp
@@ -5124,6 +5124,7 @@ notify->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC); notify->setInt32("channel-count", params.nChannels); notify->setInt32("sample-rate", params.nSampleRate); + notify->setInt32("bitrate", params.nBitRate); break; }