summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
diff options
context:
space:
mode:
authorPreetam Singh Ranawat <apranawat@codeaurora.org>2015-08-06 10:43:16 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:24:45 -0600
commitc9513cd3baa81cd99752bcce8d998a6a2ee2af57 (patch)
treef04b1176f54ba5d2ee6d651aad7a559d43a7a8ad /media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
parent7073a04c8c51771d80d3180d83814de51062b3b7 (diff)
downloadframeworks_av-c9513cd3baa81cd99752bcce8d998a6a2ee2af57.zip
frameworks_av-c9513cd3baa81cd99752bcce8d998a6a2ee2af57.tar.gz
frameworks_av-c9513cd3baa81cd99752bcce8d998a6a2ee2af57.tar.bz2
NuPlayer : send the correct streaming info while opening audio sink
-For any offload playback NuPlayerRenderer always open the audio sink with isStreaming info as true. -Pass the streaming info to the NuPlayerRenderer while opening audio sink Change-Id: Ic9d5e7ae0b82a316ec4b4a72037519448f1a011c
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp')
-rw-r--r--media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp b/media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
index b0a1f7f..1af2e2d 100644
--- a/media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
+++ b/media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
@@ -640,7 +640,7 @@ void NuPlayer::Decoder::handleOutputFormatChange(const sp<AMessage> &format) {
}
mRenderer->openAudioSink(
- format, false /* offloadOnly */, hasVideo, flags, NULL /* isOffloaed */);
+ format, false /* offloadOnly */, hasVideo, flags, NULL /* isOffloaed */, mSource->isStreaming());
}
}