Closed Bug 1195185 Opened 10 years ago Closed 10 years ago

Decouple the creation of mData from output stream addition for DecodedStream

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(4 files)

See https://hg.mozilla.org/integration/mozilla-inbound/file/e44c94a159db/dom/media/DecodedStream.cpp#l268. |mData| is created when the 1st output stream is connected. We should align its life cycle with {Start,Stop}Playback.
Depends on: 1195187
Blocks: 1195601
Bug 1195185. Part 1 - rename Connect/Remove to AddOutput/RemoveOutput.
Attachment #8649673 - Flags: review?(roc)
Bug 1195185. Part 2 - Check if all output streams are from the same graph because we don't support connecting streams from different graphs.
Attachment #8649674 - Flags: review?(roc)
Bug 1195185. Part 3 - align the life cycle of mData with {Start,Stop}Playback.
Attachment #8649675 - Flags: review?(roc)
Bug 1195185. Part 4 - remove dead code.
Attachment #8649676 - Flags: review?(roc)
Comment on attachment 8649673 [details] MozReview Request: Bug 1195185. Part 1 - rename Connect/Remove to AddOutput/RemoveOutput. https://reviewboard.mozilla.org/r/16457/#review14837 Ship It!
Attachment #8649673 - Flags: review?(roc) → review+
Comment on attachment 8649674 [details] MozReview Request: Bug 1195185. Part 2 - Check if all output streams are from the same graph because we don't support connecting streams from different graphs. https://reviewboard.mozilla.org/r/16459/#review14839 Ship It!
Attachment #8649674 - Flags: review?(roc) → review+
Comment on attachment 8649675 [details] MozReview Request: Bug 1195185. Part 3 - align the life cycle of mData with {Start,Stop}Playback. https://reviewboard.mozilla.org/r/16461/#review14841 Ship It!
Attachment #8649675 - Flags: review?(roc) → review+
Comment on attachment 8649676 [details] MozReview Request: Bug 1195185. Part 4 - remove dead code. https://reviewboard.mozilla.org/r/16463/#review14843 Ship It!
Attachment #8649676 - Flags: review?(roc) → review+
Thanks for the review!
Assignee: nobody → jwwang
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: