From ab5138fa0d9bf3c149e3b586d7640f0d2fb90685 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Wed, 27 Feb 2013 22:11:03 -0800 Subject: libstagefright: Stop the logspam from LPAPlayer Change-Id: Id6319774806e152333d468b9ff62d148e476555a --- media/libstagefright/AwesomePlayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp index 6c1f4c5..34e1007 100644 --- a/media/libstagefright/AwesomePlayer.cpp +++ b/media/libstagefright/AwesomePlayer.cpp @@ -995,7 +995,7 @@ status_t AwesomePlayer::play_l() { property_get("lpa.min_duration",minUserDefDuration,"LPA_MIN_DURATION_USEC_DEFAULT"); minDurationForLPA = atoi(minUserDefDuration); if(minDurationForLPA < LPA_MIN_DURATION_USEC_ALLOWED) { - ALOGE("LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec"); + ALOGV("LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec"); minDurationForLPA = LPA_MIN_DURATION_USEC_DEFAULT; } if((strcmp("true",lpaDecode) == 0) && (mAudioPlayer == NULL) && @@ -1602,7 +1602,7 @@ status_t AwesomePlayer::initAudioDecoder() { property_get("lpa.min_duration",minUserDefDuration,"LPA_MIN_DURATION_USEC_DEFAULT"); minDurationForLPA = atoi(minUserDefDuration); if(minDurationForLPA < LPA_MIN_DURATION_USEC_ALLOWED) { - ALOGE("LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec"); + ALOGV("LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec"); minDurationForLPA = LPA_MIN_DURATION_USEC_DEFAULT; } if (mAudioTrack->getFormat()->findInt64(kKeyDuration, &durationUs)) { -- cgit v1.1