Chromium Code Reviews
Descriptionmedia: Move VPX mem dump provider reg/unreg to same thread.
Merge to 56.
VPX MemoryPool is refcounted and it'll be destroyed by
by whatever thread holds a reference last.
Currently registering the memorypool dump provider happens
in the memorypool ctor while unregistering it happens in the dtor.
This can cause problems since unregistering it should happen
on the same thread where it was registered first.
This CL moves the register/unregister of memory pool dump
provider to VpxVideoDecoder that is always called from media thead.
BUG=637409
Review-Url: https://codereview.chromium.org/2580223002
Cr-Commit-Position: refs/heads/master@{#439594}
(cherry picked from commit 12c9d4df53fb2d12149efae6a4c25d072e839dc1)
Committed: https://chromium.googlesource.com/chromium/src/+/b5c89bb0e2d8c54499727c849466a679cf59fec4
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||