Skip to content
Snippets Groups Projects
Commit 11115e20 authored by Chih-Yu Huang's avatar Chih-Yu Huang
Browse files

C2VdaBqBlockPool: make callback members hold weak_ptr of C2VdaBqBlockPool

BufferReleasedNotifier and C2VdaBqBlockPoolData notify
C2VdaBqBlockPool when some event happens. Originally these two classes
hold shared_ptr of C2VdaBqBlockPool. However they should not hold the
ownership of C2VdaBqBlockPool. This CL changes these two classes to
hold weak_ptr of C2VdaBqBlockPool.

Bug: 160110407
Test: android.media.cts.AdaptivePlaybackTest

Change-Id: Ibc8c960dabc16542f83f5e6ff082dec70edf2481
parent d7c0867b
No related branches found
No related tags found
No related merge requests found
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