Closed Bug 1231091 Opened 9 years ago Closed 9 years ago

Remove DecodedStream::IsFinished()

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(6 files)

which doesn't fit into the interface of MediaSink.
Assignee: nobody → jwwang
Bug 1231091. Part 1 - Add mVideoCompleted so MDSM can check when audio/video is done rendering. This removes the only caller of DecodedStream::IsFinished(). r=roc.
Attachment #8698368 - Flags: review?(roc)
Bug 1231091. Part 2 - return correct promises when audio/video track is asked. r=roc.
Attachment #8698369 - Flags: review?(roc)
Bug 1231091. Part 3 - resolve the end promise when all frames are rendered. r=roc.
Attachment #8698370 - Flags: review?(roc)
Bug 1231091. Part 4 - ensure the end promise is resolved in the special case where video duration is 0. r=roc.
Attachment #8698371 - Flags: review?(roc)
Bug 1231091. Part 5 - Remove DecodedStream::IsFinished() and unused code. r=roc.
Attachment #8698372 - Flags: review?(roc)
Bug 1231091. Part 6 - fix test_streams_element_capture.html timeout. r=roc.
Attachment #8698373 - Flags: review?(roc)
Comment on attachment 8698368 [details]
MozReview Request: Bug 1231091. Part 1 - Add mVideoCompleted so MDSM can check when audio/video is done rendering. This removes the only caller of DecodedStream::IsFinished(). r=roc.

https://reviewboard.mozilla.org/r/27951/#review25563
Attachment #8698368 - Flags: review?(roc) → review+
Comment on attachment 8698369 [details]
MozReview Request: Bug 1231091. Part 2 - return correct promises when audio/video track is asked. r=roc.

https://reviewboard.mozilla.org/r/27953/#review25565
Attachment #8698369 - Flags: review?(roc) → review+
Comment on attachment 8698370 [details]
MozReview Request: Bug 1231091. Part 3 - resolve the end promise when all frames are rendered. r=roc.

https://reviewboard.mozilla.org/r/27955/#review25567
Attachment #8698370 - Flags: review?(roc) → review+
Comment on attachment 8698371 [details]
MozReview Request: Bug 1231091. Part 4 - ensure the end promise is resolved in the special case where video duration is 0. r=roc.

https://reviewboard.mozilla.org/r/27957/#review25569
Comment on attachment 8698372 [details]
MozReview Request: Bug 1231091. Part 5 - Remove DecodedStream::IsFinished() and unused code. r=roc.

https://reviewboard.mozilla.org/r/27959/#review25571
Attachment #8698372 - Flags: review?(roc) → review+
Comment on attachment 8698373 [details]
MozReview Request: Bug 1231091. Part 6 - fix test_streams_element_capture.html timeout. r=roc.

https://reviewboard.mozilla.org/r/27961/#review25573
Attachment #8698373 - Flags: review?(roc) → review+
Thanks for the review!
Blocks: 1235966
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: