summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/OMXCodec.cpp
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-05-29 14:10:05 -0700
committerJames Dong <jdong@google.com>2012-05-29 14:10:05 -0700
commitc558fa89016ba9583049b84dc57e66a913cabde8 (patch)
tree54648433057b5a9c053dc2f686c81d80f6a9eac6 /media/libstagefright/OMXCodec.cpp
parent0bbf868d53f55646651db6717468faeac618859d (diff)
downloadframeworks_av-c558fa89016ba9583049b84dc57e66a913cabde8.zip
frameworks_av-c558fa89016ba9583049b84dc57e66a913cabde8.tar.gz
frameworks_av-c558fa89016ba9583049b84dc57e66a913cabde8.tar.bz2
Added some informational log messages to track down ANR related issues
Change-Id: Ie991c86e75d58f7eb4c9f524815c4de054d5f262 related-to-bug: 6565826
Diffstat (limited to 'media/libstagefright/OMXCodec.cpp')
-rwxr-xr-xmedia/libstagefright/OMXCodec.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp
index 7fb395e..baabd37 100755
--- a/media/libstagefright/OMXCodec.cpp
+++ b/media/libstagefright/OMXCodec.cpp
@@ -3648,7 +3648,7 @@ status_t OMXCodec::start(MetaData *meta) {
}
status_t OMXCodec::stop() {
- CODEC_LOGV("stop mState=%d", mState);
+ CODEC_LOGI("stop mState=%d", mState);
Mutex::Autolock autoLock(mLock);
@@ -3748,9 +3748,10 @@ status_t OMXCodec::stop() {
mLeftOverBuffer = NULL;
}
+ CODEC_LOGI("stopping in state %d", mState);
mSource->stop();
- CODEC_LOGV("stopped in state %d", mState);
+ CODEC_LOGI("stopped in state %d", mState);
return OK;
}