summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/ACodec.cpp
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2014-07-17 16:20:13 -0700
committerZhijun He <zhijunhe@google.com>2014-07-17 16:44:54 -0700
commit7a727021b86c2fb2c9f60af2c999154dce1766eb (patch)
tree9ebd6a50c16cb6b05eaa8839e0a557b658f517ed /media/libstagefright/ACodec.cpp
parent693dd7e252529be98acd2e2585b44a6a10fa4233 (diff)
downloadframeworks_av-7a727021b86c2fb2c9f60af2c999154dce1766eb.zip
frameworks_av-7a727021b86c2fb2c9f60af2c999154dce1766eb.tar.gz
frameworks_av-7a727021b86c2fb2c9f60af2c999154dce1766eb.tar.bz2
stagefright: add error log when create omx component failed
Bug: 16343447 Change-Id: I6854b9b837a141a77ab318953dc002ec5ad5d31d
Diffstat (limited to 'media/libstagefright/ACodec.cpp')
-rw-r--r--media/libstagefright/ACodec.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp
index 9c64d72..fdb401a 100644
--- a/media/libstagefright/ACodec.cpp
+++ b/media/libstagefright/ACodec.cpp
@@ -3989,6 +3989,8 @@ bool ACodec::UninitializedState::onAllocateComponent(const sp<AMessage> &msg) {
if (err == OK) {
break;
+ } else {
+ ALOGW("Allocating component '%s' failed, try next one.", componentName.c_str());
}
node = NULL;