Closed Bug 1271490 Opened 8 years ago Closed 8 years ago

MediaThreadPool should be able to be created outside the main thread

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: jya, Assigned: jya)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As GetMediaThreadPool access a preference to find out the default number of threads to use, you can't create a media task queue outside of the main thread.

It should use a MediaPrefs (off the main thread preference) to access the information.
Comment on attachment 8750558 [details]
MozReview Request: Bug 1271490: Use MediaPrefs to read preferences. r?cpearce

https://reviewboard.mozilla.org/r/51473/#review49013
Attachment #8750558 - Flags: review?(cpearce) → review+
Blocks: 1272217
Comment on attachment 8750558 [details]
MozReview Request: Bug 1271490: Use MediaPrefs to read preferences. r?cpearce

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/51473/diff/1-2/
https://hg.mozilla.org/mozilla-central/rev/4053751140c4
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: