summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/ACodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'media/libstagefright/ACodec.cpp')
-rw-r--r--media/libstagefright/ACodec.cpp4
1 files changed, 1 insertions, 3 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(