Closed
Bug 1193117
Opened 9 years ago
Closed 9 years ago
Add exclusive mode to MediaEventSource to enable Move when possible
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(1 file)
I found it useful to enable Move when there is only one listener. This allows us to pass event data which is only movable like nsAutoPtr.
Assignee | ||
Comment 1•9 years ago
|
||
I just realized Move is an optional optimization, but not mandatory. MediaEventSource can't support a type which is not copyable.
Assignee | ||
Comment 2•9 years ago
|
||
I find it quite a lot of work to support move-only types in exclusive mode. Spin bug 1194112 to handle that.
Assignee | ||
Comment 3•9 years ago
|
||
Bug 1193117. Add an exclusive mode to allow at most one listener.
Attachment #8647879 -
Flags: review?(kinetik)
Comment 4•9 years ago
|
||
Comment on attachment 8647879 [details] MozReview Request: Bug 1193117. Add an exclusive mode to allow at most one listener. https://reviewboard.mozilla.org/r/16077/#review14411 Ship It!
Attachment #8647879 -
Flags: review?(kinetik) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Thanks for the review.
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/39172e1b1480
Assignee: nobody → jwwang
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
•