diff options
| -rw-r--r-- | configs/media_codecs_msm8916.xml | 6 | ||||
| -rw-r--r-- | configs/media_codecs_msm8939.xml | 6 |
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" /> |
