Closed
Bug 1195625
Opened 9 years ago
Closed 9 years ago
Use correct TaskQueue in SharedDecoderManager and H264Converter promise.
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: ayang, Assigned: ayang)
References
Details
Attachments
(1 file, 1 obsolete file)
2.56 KB,
patch
|
ayang
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8649122 -
Flags: review?(jyavenard)
Comment 2•9 years ago
|
||
Comment on attachment 8649122 [details] [diff] [review] use_correct_taskqueue Review of attachment 8649122 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/media/platforms/SharedDecoderManager.cpp @@ +186,5 @@ > > nsRefPtr<SharedDecoderManager> self = this; > nsRefPtr<MediaDataDecoder::InitPromise> p = mDecoderInitPromise.Ensure(__func__); > > + // The mTaskQueue is flushable which can't be used in MozPromise. same as H264Converter comment ::: dom/media/platforms/wrappers/H264Converter.cpp @@ +167,5 @@ > mMediaRawSamples.AppendElement(aSample); > > nsRefPtr<H264Converter> self = this; > > + // The mVideoTaskQueue is flushable which can't be used in MozPromise. even if it wasn't flushable ; we wouldn't want to use it as it would cause thread-safety issues with the wrapped MediaDataDecoder which expects to control all that is going with its own task queue. So that comment needs to be entirely removed because it's incorrect.
Attachment #8649122 -
Flags: review?(jyavenard) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Thanks for quick review!
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8649122 -
Attachment is obsolete: true
Attachment #8649125 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/88df6aa8bf02
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•