Closed
Bug 1297590
Opened 9 years ago
Closed 9 years ago
Put DECODER_STATE_DECODING_FIRSTFRAME back to MDSM
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla51
| Tracking | Status | |
|---|---|---|
| firefox51 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(10 files)
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
|
58 bytes,
text/x-review-board-request
|
kaku
:
review+
|
Details |
Moving the job of decoding first frames out of DECODER_STATE_DECODING into its own state, it would be easier and simpler to define transitions between states.
| Assignee | ||
Updated•9 years ago
|
| 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) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
Attachment #8788060 -
Flags: review?(kaku)
Attachment #8788061 -
Flags: review?(kaku)
Attachment #8788062 -
Flags: review?(kaku)
Attachment #8788063 -
Flags: review?(kaku)
Attachment #8788064 -
Flags: review?(kaku)
Attachment #8788065 -
Flags: review?(kaku)
Attachment #8788066 -
Flags: review?(kaku)
Attachment #8788067 -
Flags: review?(kaku)
Attachment #8788068 -
Flags: review?(kaku)
Attachment #8788069 -
Flags: review?(kaku)
Comment 11•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788060 [details]
Bug 1297590. Part 1 - add DECODER_STATE_DECODING_FIRSTFRAME to MDSM.
https://reviewboard.mozilla.org/r/76632/#review74752
::: dom/media/MediaDecoderStateMachine.cpp:833
(Diff revision 1)
>
> bool
> MediaDecoderStateMachine::CheckIfDecodeComplete()
> {
> MOZ_ASSERT(OnTaskQueue());
> + // DecodeComplete is possible only after decoding first frames.
Why plural type for the "frames" here? I expect for a singular type; also apply to the other comments in this patch.
Attachment #8788060 -
Flags: review?(kaku) → review+
Comment 12•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788061 [details]
Bug 1297590. Part 2 - change test `mState != DECODER_STATE_DECODING` to `mState != DECODER_STATE_DECODING && mState != DECODER_STATE_DECODING_FIRSTFRAME`.
https://reviewboard.mozilla.org/r/76634/#review74754
Attachment #8788061 -
Flags: review?(kaku) → review+
Comment 13•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788062 [details]
Bug 1297590. Part 3 - change test `mState >= DECODER_STATE_DECODING && mSentFirstFrameLoadedEvent` to `mState >= DECODER_STATE_DECODING`.
https://reviewboard.mozilla.org/r/76636/#review74738
Attachment #8788062 -
Flags: review?(kaku) → review+
Comment 14•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788063 [details]
Bug 1297590. Part 4 - change test `mState >= DECODER_STATE_DECODING` to `mState >= DECODER_STATE_DECODING_FIRSTFRAME`.
https://reviewboard.mozilla.org/r/76638/#review74758
Attachment #8788063 -
Flags: review?(kaku) → review+
Comment 15•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788064 [details]
Bug 1297590. Part 5 - change some `SetState(DECODER_STATE_DECODING)` to `SetState(DECODER_STATE_DECODING_FIRSTFRAME)`.
https://reviewboard.mozilla.org/r/76640/#review74760
Attachment #8788064 -
Flags: review?(kaku) → review+
Comment 16•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788065 [details]
Bug 1297590. Part 6 - Move MaybeFinishDecodeFirstFrame() from case DECODER_STATE_DECODING to case DECODER_STATE_DECODING_FIRSTFRAME.
https://reviewboard.mozilla.org/r/76642/#review74762
Attachment #8788065 -
Flags: review?(kaku) → review+
Comment 17•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788066 [details]
Bug 1297590. Part 7 - remove the call to MaybeFinishDecodeFirstFrame() from OnNotDecoded().
https://reviewboard.mozilla.org/r/76644/#review74742
Attachment #8788066 -
Flags: review?(kaku) → review+
Comment 18•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788067 [details]
Bug 1297590. Part 8 - add an entry action for DECODER_STATE_DECODING_FIRSTFRAME.
https://reviewboard.mozilla.org/r/76646/#review74764
Attachment #8788067 -
Flags: review?(kaku) → review+
Comment 19•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788068 [details]
Bug 1297590. Part 9 - fix MaybeFinishDecodeFirstFrame().
https://reviewboard.mozilla.org/r/76648/#review74750
Attachment #8788068 -
Flags: review?(kaku) → review+
Comment 20•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8788069 [details]
Bug 1297590. Part 10 - remove some mSentFirstFrameLoadedEvent checks for it is surely true when mState is DECODING.
https://reviewboard.mozilla.org/r/76650/#review74766
Attachment #8788069 -
Flags: review?(kaku) → review+
| Assignee | ||
Comment 21•9 years ago
|
||
| mozreview-review-reply | ||
Comment on attachment 8788060 [details]
Bug 1297590. Part 1 - add DECODER_STATE_DECODING_FIRSTFRAME to MDSM.
https://reviewboard.mozilla.org/r/76632/#review74752
> Why plural type for the "frames" here? I expect for a singular type; also apply to the other comments in this patch.
Each track has its own first frame. Since we have both audi and video tracks, we have 2 "first frames" from each track.
| Assignee | ||
Comment 22•9 years ago
|
||
Thanks for the review!
Comment 23•9 years ago
|
||
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce1129cc4eff
Part 1 - add DECODER_STATE_DECODING_FIRSTFRAME to MDSM. r=kaku
https://hg.mozilla.org/integration/autoland/rev/cd526ec1c208
Part 2 - change test `mState != DECODER_STATE_DECODING` to `mState != DECODER_STATE_DECODING && mState != DECODER_STATE_DECODING_FIRSTFRAME`. r=kaku
https://hg.mozilla.org/integration/autoland/rev/9b2913a5a496
Part 3 - change test `mState >= DECODER_STATE_DECODING && mSentFirstFrameLoadedEvent` to `mState >= DECODER_STATE_DECODING`. r=kaku
https://hg.mozilla.org/integration/autoland/rev/2ffa21b6fb98
Part 4 - change test `mState >= DECODER_STATE_DECODING` to `mState >= DECODER_STATE_DECODING_FIRSTFRAME`. r=kaku
https://hg.mozilla.org/integration/autoland/rev/8a478b60c1f9
Part 5 - change some `SetState(DECODER_STATE_DECODING)` to `SetState(DECODER_STATE_DECODING_FIRSTFRAME)`. r=kaku
https://hg.mozilla.org/integration/autoland/rev/6b05ec872e63
Part 6 - Move MaybeFinishDecodeFirstFrame() from case DECODER_STATE_DECODING to case DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
https://hg.mozilla.org/integration/autoland/rev/1aafc799929a
Part 7 - remove the call to MaybeFinishDecodeFirstFrame() from OnNotDecoded(). r=kaku
https://hg.mozilla.org/integration/autoland/rev/41ed9b0c1661
Part 8 - add an entry action for DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
https://hg.mozilla.org/integration/autoland/rev/13b4910c4880
Part 9 - fix MaybeFinishDecodeFirstFrame(). r=kaku
https://hg.mozilla.org/integration/autoland/rev/fcbf7d45fbe4
Part 10 - remove some mSentFirstFrameLoadedEvent checks for it is surely true when mState is DECODING. r=kaku
Comment 24•9 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ce1129cc4eff
https://hg.mozilla.org/mozilla-central/rev/cd526ec1c208
https://hg.mozilla.org/mozilla-central/rev/9b2913a5a496
https://hg.mozilla.org/mozilla-central/rev/2ffa21b6fb98
https://hg.mozilla.org/mozilla-central/rev/8a478b60c1f9
https://hg.mozilla.org/mozilla-central/rev/6b05ec872e63
https://hg.mozilla.org/mozilla-central/rev/1aafc799929a
https://hg.mozilla.org/mozilla-central/rev/41ed9b0c1661
https://hg.mozilla.org/mozilla-central/rev/13b4910c4880
https://hg.mozilla.org/mozilla-central/rev/fcbf7d45fbe4
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•