Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 184cdb36 authored by Praveen Chavan's avatar Praveen Chavan Committed by Dichen Zhang
Browse files

stagefright: Clear RenderQueue on port settings changed

Clear the RenderTracker RenderQueue before allocating new set of
buffers during port settings change. The graphicBuffers inside
the RenderQueue hold the actual buffer references which prevents
them from being freed until this queue is cleared.
Do not wait till executing state to clear the queue as then
overall memory consumption goes up for the brief period

Author: Shalaj Jain <shalajj@codeaurora.org>

Bug: 70919418
Test: AdaptivePlaybackTest#testXXX_adaptiveEosFlushSeek
Change-Id: Iba746372da7388cf065cf91a1ff668dc01f833ad
parent 0d8553c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment