diff options
author | Steve Kondik <steve@cyngn.com> | 2015-11-19 00:29:37 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-23 17:08:28 -0800 |
commit | 29c75250c58bdcc3b38513813ba521cba82d5c61 (patch) | |
tree | 046da9cbac5870beed59173bc641aa413b525004 /media/libstagefright/Utils.cpp | |
parent | 186221ad96a20d975cfb41a91023cfde37e95872 (diff) | |
download | frameworks_av-29c75250c58bdcc3b38513813ba521cba82d5c61.zip frameworks_av-29c75250c58bdcc3b38513813ba521cba82d5c61.tar.gz frameworks_av-29c75250c58bdcc3b38513813ba521cba82d5c61.tar.bz2 |
stagefright: Welcome to my nightmare, act IV
* Standardize parameter names, clean up stub calls
* Attempting to make QC's blob work. We've entered
our last days on earth. All is lost, all is lost.
Change-Id: Idef9aad100f414e64a737e0f0a8c9c112ad4cb46
Diffstat (limited to 'media/libstagefright/Utils.cpp')
-rw-r--r-- | media/libstagefright/Utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/Utils.cpp b/media/libstagefright/Utils.cpp index b1b860c..0cf76a3 100644 --- a/media/libstagefright/Utils.cpp +++ b/media/libstagefright/Utils.cpp @@ -208,7 +208,7 @@ status_t convertMetaDataToMessage( int32_t bitsPerSample; if (meta->findInt32(kKeyBitsPerSample, &bitsPerSample)) { - msg->setInt32("bit-width", bitsPerSample); + msg->setInt32("bits-per-sample", bitsPerSample); } uint32_t type; @@ -665,7 +665,7 @@ void convertMessageToMetaData(const sp<AMessage> &msg, sp<MetaData> &meta) { } int32_t bitsPerSample; - if (msg->findInt32("bit-width", &bitsPerSample)) { + if (msg->findInt32("bits-per-sample", &bitsPerSample)) { meta->setInt32(kKeyBitsPerSample, bitsPerSample); } } |