Closed
Bug 1163497
Opened 10 years ago
Closed 10 years ago
Remove MediaDecoder::OutputStreams()
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(5 files)
5.58 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
6.85 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
2.42 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
3.12 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
3.54 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
By moving stream connection/disconnection code to DecodedStream, we can remove MediaDecoder::OutputStreams().
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Fix build error. Try again: https://treeherder.mozilla.org/#/jobs?repo=try&revision=443a9f38dc7b
Assignee | ||
Comment 3•10 years ago
|
||
Part 1 - extract MediaDecoder::ConnectDecodedStreamToOutputStream() to DecodedStream::Connect().
Assignee | ||
Comment 4•10 years ago
|
||
Part 2 - Move MediaDecoder::DestroyDecodedStream() into DecodedStream::DestroyData().
Attachment #8609930 -
Flags: review?(roc)
Assignee | ||
Comment 5•10 years ago
|
||
Part 3 - move stream connection code from MediaDecoder::RecreateDecodedStream() to DecodedStream::RecreateData().
Attachment #8609931 -
Flags: review?(roc)
Assignee | ||
Comment 6•10 years ago
|
||
Part 4 - move output stream code from MediaDecoder::AddOutputStream() to DecodedStream::Connect().
Attachment #8609932 -
Flags: review?(roc)
Assignee | ||
Comment 7•10 years ago
|
||
Part 5 - remove unused functions.
Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8609934 [details] [diff] [review]
1163497_part5_remove_unused_functions-v1.patch
Review of attachment 8609934 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/DecodedStream.cpp
@@ -158,5 @@
> DecodedStream* mDecodedStream;
> nsRefPtr<MediaStream> mStream;
> };
>
> -OutputStreamData::OutputStreamData()
Since all stream connection/disconnection code is moved to DecodedStream.cpp, |OutputStreamData* os = OutputStreams().AppendElement()| in DecodedStream::Connect() sees the complete definition of OutputStreamData when instantiating the template. We don't need to provide our own constructor anymore.
Attachment #8609934 -
Flags: review?(roc)
Attachment #8609929 -
Flags: review?(roc) → review+
Attachment #8609930 -
Flags: review?(roc) → review+
Attachment #8609931 -
Flags: review?(roc) → review+
Attachment #8609934 -
Flags: review?(roc) → review+
Attachment #8609932 -
Flags: review?(roc) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Thanks for the review.
Comment 10•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f79a3159a09d
https://hg.mozilla.org/integration/mozilla-inbound/rev/cbf69c6aef56
https://hg.mozilla.org/integration/mozilla-inbound/rev/085e8e8b0a34
https://hg.mozilla.org/integration/mozilla-inbound/rev/2252ecf505ea
https://hg.mozilla.org/integration/mozilla-inbound/rev/20b649df52a6
Comment 11•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f79a3159a09d
https://hg.mozilla.org/mozilla-central/rev/cbf69c6aef56
https://hg.mozilla.org/mozilla-central/rev/085e8e8b0a34
https://hg.mozilla.org/mozilla-central/rev/2252ecf505ea
https://hg.mozilla.org/mozilla-central/rev/20b649df52a6
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•