Closed
Bug 1339755
Opened 8 years ago
Closed 8 years ago
Move GMPCDMProxy::DecryptJob out of GMPCDMProxy
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: cpearce, Assigned: cpearce)
References
Details
Attachments
(2 files)
This means it can be reused in other CDMProxies, specifically, my work to make a new Chromium CDMProxy in bug Bug 1315850.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8837502 [details]
Bug 1339755 - Move GMPCDMProxy::DecryptJob out of GMPCDMProxy.
https://reviewboard.mozilla.org/r/112668/#review114098
Attachment #8837502 -
Flags: review?(jwwang) → review+
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8837503 [details]
Bug 1339755 - Move DecryptJob id calculation into its constructor.
https://reviewboard.mozilla.org/r/112670/#review114102
::: dom/media/gmp/DecryptJob.cpp:13
(Diff revision 1)
> namespace mozilla {
>
> +uint32_t sDecryptJobInstanceCount = 0;
> +
> +DecryptJob::DecryptJob(MediaRawData* aSample)
> + : mId(++sDecryptJobInstanceCount )
Is there a data race if DecryptJob is created on different theads concurrently?
Attachment #8837503 -
Flags: review?(jwwang) → review+
Assignee | ||
Comment 5•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8837503 [details]
Bug 1339755 - Move DecryptJob id calculation into its constructor.
https://reviewboard.mozilla.org/r/112670/#review114102
> Is there a data race if DecryptJob is created on different theads concurrently?
Under current usage patterns, this is always accessed from the same thread. I can make it atomic to make it safe. I'm expecting to remove the ID soon.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/85641936e471
Move GMPCDMProxy::DecryptJob out of GMPCDMProxy. r=jwwang
https://hg.mozilla.org/integration/autoland/rev/f3629503d405
Move DecryptJob id calculation into its constructor. r=jwwang
Backed out in https://hg.mozilla.org/integration/autoland/rev/c187196bff43 for build bustage like https://treeherder.mozilla.org/logviewer.html#?job_id=77696264&repo=autoland
Flags: needinfo?(cpearce)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 15•8 years ago
|
||
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/53680343b6a2
Move GMPCDMProxy::DecryptJob out of GMPCDMProxy. r=jwwang
https://hg.mozilla.org/integration/autoland/rev/18975ff8fe82
Move DecryptJob id calculation into its constructor. r=jwwang
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(cpearce)
Comment 16•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/53680343b6a2
https://hg.mozilla.org/mozilla-central/rev/18975ff8fe82
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•