aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumyaManagoli <smanag@codeaurora.org>2016-08-22 13:33:42 +0530
committerlolmaxlik <ilya.lebedev.2003@mail.ru>2016-12-02 13:36:53 +0600
commitc6a581d5734fa7e038cf1e0be0d4e6427879b71f (patch)
treefc5341588d8c260a8fe8ccf7ffb09de81c348bd6
parenta5416259f0e336482e316d375f82a567586fa809 (diff)
msm8916-common: audio: CTS fix for GetMaxSupportedInstances test.
Add max-concurrent instance for FLAC decoder. Change-Id: I05cf3e2fe100eadaaf4785c9d6a5ae59eaf4d0e8 CRs-Fixed: 1049097
-rw-r--r--configs/media_codecs_msm8916.xml6
-rw-r--r--configs/media_codecs_msm8939.xml6
2 files changed, 8 insertions, 4 deletions
diff --git a/configs/media_codecs_msm8916.xml b/configs/media_codecs_msm8916.xml
index d28ecda..87fb82f 100644
--- a/configs/media_codecs_msm8916.xml
+++ b/configs/media_codecs_msm8916.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2012 The Android Open Source Project
- Copyright (C) 2014 The Linux Foundation. All rights reserved.
+ Copyright (C) 2014, 2016 The Linux Foundation. All rights reserved.
Not a contribution.
Licensed under the Apache License, Version 2.0 (the "License");
@@ -163,7 +163,9 @@ ___________________________________________________
</Encoders>
<Decoders>
<!-- Audio Software -->
- <MediaCodec name="OMX.qti.audio.decoder.flac" type="audio/flac" />
+ <MediaCodec name="OMX.qti.audio.decoder.flac" type="audio/flac" >
+ <Limit name="concurrent-instances" max="10" />
+ </MediaCodec>
<!-- Video Hardware -->
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />
diff --git a/configs/media_codecs_msm8939.xml b/configs/media_codecs_msm8939.xml
index f0826fd..669d010 100644
--- a/configs/media_codecs_msm8939.xml
+++ b/configs/media_codecs_msm8939.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2012 The Android Open Source Project
- Copyright (C) 2014 The Linux Foundation. All rights reserved.
+ Copyright (C) 2014, 2016 The Linux Foundation. All rights reserved.
Not a contribution.
Licensed under the Apache License, Version 2.0 (the "License");
@@ -165,7 +165,9 @@ _________________________________________________________________
</Encoders>
<Decoders>
<!-- Audio Software -->
- <MediaCodec name="OMX.qti.audio.decoder.flac" type="audio/flac" />
+ <MediaCodec name="OMX.qti.audio.decoder.flac" type="audio/flac" >
+ <Limit name="concurrent-instances" max="10" />
+ </MediaCodec>
<!-- Video Hardware -->
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" >
<Quirk name="requires-allocate-on-input-ports" />