summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-12-17 15:18:04 -0500
committerSteve Kondik <steve@cyngn.com>2015-12-17 18:34:03 -0500
commit7b3a9daba71708d54434c8fb8e967b4853e01707 (patch)
tree2e1c0913650b03e6246da68f8b7dd149f965a613 /media/libmediaplayerservice
parent53ac41b011537674ae823bc38df2fea7b369c894 (diff)
downloadframeworks_av-7b3a9daba71708d54434c8fb8e967b4853e01707.zip
frameworks_av-7b3a9daba71708d54434c8fb8e967b4853e01707.tar.gz
frameworks_av-7b3a9daba71708d54434c8fb8e967b4853e01707.tar.bz2
nuplayer: Error checks for PCM format extensions
Change-Id: Ie9a3a8c335611d11c84bf24cb50c73c1644ad381
Diffstat (limited to 'media/libmediaplayerservice')
-rw-r--r--media/libmediaplayerservice/nuplayer/NuPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp
index 622e58a..e7ff037 100644
--- a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp
+++ b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp
@@ -1306,7 +1306,7 @@ void NuPlayer::onStart(int64_t startPositionUs) {
ALOGV("onStart");
sp<MetaData> audioMeta = mSource->getFormatMeta(true /* audio */);
AVNuUtils::get()->setSourcePCMFormat(audioMeta);
- audioMeta->dumpToLog();
+
audio_stream_type_t streamType = AUDIO_STREAM_MUSIC;
if (mAudioSink != NULL) {
streamType = mAudioSink->getAudioStreamType();