Closed
Bug 1248314
Opened 8 years ago
Closed 8 years ago
Remove DecodedStreamData::mStreamInitialized
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
We can remove DecodedStreamData::mStreamInitialized by moving track initialization code from DecodedStream::InitTracks() into the constructor of DecodedStreamData which will run once only. This small refactoring is a step forward to bug 1248312.
Assignee | ||
Comment 1•8 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9f904fe233ab
Assignee | ||
Comment 2•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/34949/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/34949/
Attachment #8719365 -
Flags: review?(roc)
Assignee | ||
Comment 3•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/34951/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/34951/
Attachment #8719366 -
Flags: review?(roc)
Comment on attachment 8719365 [details] MozReview Request: Bug 1248314. Part 1 - Since OutputStreamManager::Connect/Disconnect is tightly coupled with the constructor/destructor of DecodedStreamData, it would improve cohesion to let DecodedStreamData manage an OutputStreamManager and know when https://reviewboard.mozilla.org/r/34949/#review31527
Attachment #8719365 -
Flags: review?(roc) → review+
Comment on attachment 8719366 [details] MozReview Request: Bug 1248314. part 2 - move track initialization code into the constructor of DecodedStreamData. r=roc. https://reviewboard.mozilla.org/r/34951/#review31529
Attachment #8719366 -
Flags: review?(roc) → review+
Assignee | ||
Comment 6•8 years ago
|
||
Thanks!
https://hg.mozilla.org/integration/mozilla-inbound/rev/2392845b26e4 https://hg.mozilla.org/integration/mozilla-inbound/rev/2fa44352d55c
Comment 8•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2392845b26e4 https://hg.mozilla.org/mozilla-central/rev/2fa44352d55c
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•