Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Issue 2580223002: media: Move VPX mem dump provider reg/unreg to same thread. (Closed)

Created:
4 years ago by Daniele Castagna
Modified:
4 years ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Move VPX mem dump provider reg/unreg to same thread. 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 Committed: https://crrev.com/12c9d4df53fb2d12149efae6a4c25d072e839dc1 Cr-Commit-Position: refs/heads/master@{#439594}

Patch Set 1 #

Patch Set 2 : Move unregister to CloseDecoder. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M media/filters/vpx_video_decoder.cc View 1 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
Daniele Castagna
4 years ago (2016-12-17 23:07:47 UTC) #7
ssid
Thanks for fixing. lgtm
4 years ago (2016-12-18 04:09:16 UTC) #10
sandersd (OOO until July 31)
lgtm
4 years ago (2016-12-19 20:16:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2580223002/20001
4 years ago (2016-12-19 20:57:48 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-19 22:28:20 UTC) #16
commit-bot: I haz the power
4 years ago (2016-12-19 22:32:03 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/12c9d4df53fb2d12149efae6a4c25d072e839dc1
Cr-Commit-Position: refs/heads/master@{#439594}

Powered by Google App Engine
This is Rietveld 408576698