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

Skip to content
Commit 2fd815ff authored by Shalaj Jain's avatar Shalaj Jain Committed by Steve Kondik
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.

CRs-Fixed: 972394
Change-Id: If50ffc2d517f793a59c88d3fb213bf4c23b8c9f7
parent c3902bb7
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