Closed
Bug 1320466
Opened 8 years ago
Closed 8 years ago
Don't switch callbacks between MDSM and SeekTask
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: kaku, Assigned: kaku)
References
Details
Attachments
(8 files)
58 bytes,
text/x-review-board-request
|
jwwang
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
jwwang
:
review+
|
Details |
Bug 1320466 part 3 - implement OnAudioWaited(), OnVideoWaited() and OnNotWaited() callbacks in MDSM;
58 bytes,
text/x-review-board-request
|
jwwang
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
jwwang
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
jwwang
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
jwwang
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
jwwang
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
jwwang
:
review+
|
Details |
A sub-bug of bug 1318610.
We implemented the mechanism of switching MediaDecoderReaderWarpper's callbacks between MDSM and SeekTasks in bug 1261020. Now, in bug 1318610, we're going to get rid of the SeekTasks and this bug is the first step to aligning the behavior of SeekTask to SeekingState.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
mozreview-review |
Comment on attachment 8814594 [details]
Bug 1320466 part 1 - delegate OnNotDecoded event to state objects;
https://reviewboard.mozilla.org/r/95776/#review95838
::: dom/media/MediaDecoderStateMachine.cpp:1165
(Diff revision 1)
> +MediaDecoderStateMachine::
> +StateObject::HandleNotDecoded(MediaData::Type aType, const MediaResult& aError)
> +{
> + bool isAudio = aType == MediaData::AUDIO_DATA;
> + MOZ_ASSERT_IF(!isAudio, aType == MediaData::VIDEO_DATA);
> +
The check for IsShutdown() is missing here. Isn't that needed anymore?
Comment 11•8 years ago
|
||
mozreview-review |
Comment on attachment 8814595 [details]
Bug 1320466 part 2 - implement media data decoded/not-decoded handlers in SeekTask;
https://reviewboard.mozilla.org/r/95778/#review95840
Attachment #8814595 -
Flags: review?(jwwang) → review+
Comment 12•8 years ago
|
||
mozreview-review |
Comment on attachment 8814596 [details]
Bug 1320466 part 3 - implement OnAudioWaited(), OnVideoWaited() and OnNotWaited() callbacks in MDSM;
https://reviewboard.mozilla.org/r/95780/#review95842
Attachment #8814596 -
Flags: review?(jwwang) → review+
Comment 13•8 years ago
|
||
mozreview-review |
Comment on attachment 8814597 [details]
Bug 1320466 part 4 - delegate OnAudioWaited, OnVideoWaited and OnNotWaited events to state objects;
https://reviewboard.mozilla.org/r/95782/#review95844
Attachment #8814597 -
Flags: review?(jwwang) → review+
Comment 14•8 years ago
|
||
mozreview-review |
Comment on attachment 8814598 [details]
Bug 1320466 part 5 - implement media data waited/not-waited handlers in SeekTask;
https://reviewboard.mozilla.org/r/95784/#review95846
Attachment #8814598 -
Flags: review?(jwwang) → review+
Comment 15•8 years ago
|
||
mozreview-review |
Comment on attachment 8814599 [details]
Bug 1320466 part 6 - dispatch {not-}decoded and {not-}waited events from SeekingObject to SeekTask;
https://reviewboard.mozilla.org/r/95786/#review95848
Attachment #8814599 -
Flags: review?(jwwang) → review+
Comment 16•8 years ago
|
||
mozreview-review |
Comment on attachment 8814600 [details]
Bug 1320466 part 7 - remove callbacks of SeekTask;
https://reviewboard.mozilla.org/r/95788/#review95850
Nice!
Attachment #8814600 -
Flags: review?(jwwang) → review+
Comment 17•8 years ago
|
||
mozreview-review |
Comment on attachment 8814601 [details]
Bug 1320466 part 8 - clean up redundant fucntion calls;
https://reviewboard.mozilla.org/r/95790/#review95852
Attachment #8814601 -
Flags: review?(jwwang) → review+
Assignee | ||
Comment 18•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8814594 [details]
Bug 1320466 part 1 - delegate OnNotDecoded event to state objects;
https://reviewboard.mozilla.org/r/95776/#review95838
> The check for IsShutdown() is missing here. Isn't that needed anymore?
I handle it by overriding the HandleNotDecoded() method in ShutdownState.
ShutdownState::HandleNotDecoded() returns directily.
Comment 19•8 years ago
|
||
mozreview-review |
Comment on attachment 8814594 [details]
Bug 1320466 part 1 - delegate OnNotDecoded event to state objects;
https://reviewboard.mozilla.org/r/95776/#review96998
Attachment #8814594 -
Flags: review?(jwwang) → review+
Comment 21•8 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/d8a14192979c
part 1 - delegate OnNotDecoded event to state objects; r=jwwang
https://hg.mozilla.org/integration/autoland/rev/3af879aacac7
part 2 - implement media data decoded/not-decoded handlers in SeekTask; r=jwwang
https://hg.mozilla.org/integration/autoland/rev/b40ed2eb5cb5
part 3 - implement OnAudioWaited(), OnVideoWaited() and OnNotWaited() callbacks in MDSM; r=jwwang
https://hg.mozilla.org/integration/autoland/rev/e102e1d94504
part 4 - delegate OnAudioWaited, OnVideoWaited and OnNotWaited events to state objects; r=jwwang
https://hg.mozilla.org/integration/autoland/rev/38c2d58de393
part 5 - implement media data waited/not-waited handlers in SeekTask; r=jwwang
https://hg.mozilla.org/integration/autoland/rev/2db94d238128
part 6 - dispatch {not-}decoded and {not-}waited events from SeekingObject to SeekTask; r=jwwang
https://hg.mozilla.org/integration/autoland/rev/3a13ac4fb7a6
part 7 - remove callbacks of SeekTask; r=jwwang
https://hg.mozilla.org/integration/autoland/rev/98428e833421
part 8 - clean up redundant fucntion calls; r=jwwang
Keywords: checkin-needed
Comment 22•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d8a14192979c
https://hg.mozilla.org/mozilla-central/rev/3af879aacac7
https://hg.mozilla.org/mozilla-central/rev/b40ed2eb5cb5
https://hg.mozilla.org/mozilla-central/rev/e102e1d94504
https://hg.mozilla.org/mozilla-central/rev/38c2d58de393
https://hg.mozilla.org/mozilla-central/rev/2db94d238128
https://hg.mozilla.org/mozilla-central/rev/3a13ac4fb7a6
https://hg.mozilla.org/mozilla-central/rev/98428e833421
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•