summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-05-15 10:26:08 -0700
committerLajos Molnar <lajos@google.com>2014-05-15 10:30:33 -0700
commit47aea1f7c58f5302b16822f9e7e1763f2af04ef5 (patch)
treed4194bcc28104b6457a0712a8a8eadee2d9d51d2 /media/libstagefright
parentd25b89d1e417082b7e4ee9db7c08ab8095d48d87 (diff)
downloadframeworks_av-47aea1f7c58f5302b16822f9e7e1763f2af04ef5.zip
frameworks_av-47aea1f7c58f5302b16822f9e7e1763f2af04ef5.tar.gz
frameworks_av-47aea1f7c58f5302b16822f9e7e1763f2af04ef5.tar.bz2
ACodec: remove PTS log spam
Bug: 14976517 Bug: 11784827 Change-Id: Ibc1bbd80e7aac30b0f8f1e9ca2be1bb3e5e2ebbb
Diffstat (limited to 'media/libstagefright')
-rw-r--r--media/libstagefright/ACodec.cpp4
-rw-r--r--media/libstagefright/MediaCodec.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp
index 4f66402..2e8e412 100644
--- a/media/libstagefright/ACodec.cpp
+++ b/media/libstagefright/ACodec.cpp
@@ -3681,7 +3681,7 @@ void ACodec::BaseState::onOutputBufferDrained(const sp<AMessage> &msg) {
// API 20. Perhaps check for target SDK version.
#if 0
if (info->mData->meta()->findInt64("timeUs", &timestampNs)) {
- ALOGI("using buffer PTS of %" PRId64, timestampNs);
+ ALOGV("using buffer PTS of %" PRId64, timestampNs);
timestampNs *= 1000;
}
#endif
@@ -3691,8 +3691,6 @@ void ACodec::BaseState::onOutputBufferDrained(const sp<AMessage> &msg) {
err = native_window_set_buffers_timestamp(mCodec->mNativeWindow.get(), timestampNs);
if (err != OK) {
ALOGW("failed to set buffer timestamp: %d", err);
- } else {
- ALOGI("set PTS to %" PRId64, timestampNs);
}
if ((err = mCodec->mNativeWindow->queueBuffer(
diff --git a/media/libstagefright/MediaCodec.cpp b/media/libstagefright/MediaCodec.cpp
index d8a8380..b9c5904 100644
--- a/media/libstagefright/MediaCodec.cpp
+++ b/media/libstagefright/MediaCodec.cpp
@@ -1728,7 +1728,7 @@ status_t MediaCodec::onReleaseOutputBuffer(const sp<AMessage> &msg) {
// API 20. Perhaps check for target SDK version.
#if 0
if (info->mData->meta()->findInt64("timeUs", &timestampNs)) {
- ALOGI("using buffer PTS of %" PRId64, timestampNs);
+ ALOGV("using buffer PTS of %" PRId64, timestampNs);
timestampNs *= 1000;
}
#endif