Closed
Bug 1386951
Opened 7 years ago
Closed 7 years ago
Have ChannelMediaDecoder implement CreateStateMachine()
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(1 file)
The implementation will be shared by most of the sub-classes except OggDecoder which needs to call demuxer->SetChainingEvents(). http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/dom/media/ogg/OggDecoder.cpp#25 This help reduce code changes whenever we add a field to MediaFormatReaderInit.
Assignee | ||
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8893294 -
Flags: review?(jyavenard)
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8893294 [details] Bug 1386951 - have ChannelMediaDecoder implement CreateStateMachine() and fix includes. https://reviewboard.mozilla.org/r/164354/#review169702 ::: commit-message-0c7e7:8 (Diff revision 1) > +The implementation will be shared by most of the sub-classes except OggDecoder > +which needs to call demuxer->SetChainingEvents(). > + > +http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/dom/media/ogg/OggDecoder.cpp#25 > + > +This help reduce code changes whenever we add a field to MediaFormatReaderInit. this help reducing ::: dom/media/ChannelMediaDecoder.cpp:160 (Diff revision 1) > mResourceCallback->Connect(this); > } > > +MediaDecoderStateMachine* ChannelMediaDecoder::CreateStateMachine() > +{ > + MediaFormatReaderInit init; Please add MOZ_ASSERT(NS_IsMainThread());
Attachment #8893294 -
Flags: review?(jyavenard) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
Thanks!
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/be090e170cc6 have ChannelMediaDecoder implement CreateStateMachine() and fix includes. r=jya
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/be090e170cc6
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•