summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-02-27 22:11:03 -0800
committerSteve Kondik <shade@chemlab.org>2013-02-27 22:11:03 -0800
commitab5138fa0d9bf3c149e3b586d7640f0d2fb90685 (patch)
tree5a434b0412e438d89bff3164e6637b9b51c7eb59
parent9a814ad626233ff02dd2d393929f32225bc94b68 (diff)
downloadframeworks_av-ab5138fa0d9bf3c149e3b586d7640f0d2fb90685.zip
frameworks_av-ab5138fa0d9bf3c149e3b586d7640f0d2fb90685.tar.gz
frameworks_av-ab5138fa0d9bf3c149e3b586d7640f0d2fb90685.tar.bz2
libstagefright: Stop the logspam from LPAPlayer
Change-Id: Id6319774806e152333d468b9ff62d148e476555a
-rw-r--r--media/libstagefright/AwesomePlayer.cpp4
1 files 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)) {