Closed Bug 1202351 Opened 9 years ago Closed 9 years ago

Remove MDSM::mPlayDuration

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

After bug 1199562 is landed, MDSM can always rely on the MediaSink to provide the playback position no matter playback is paused or not. We can then remove |mPlayDuration| which existed to provide the playback position when playback is paused.
Blocks: 1199098
Depends on: 1199562
Blocks: 1202540
Bug 1202351 - Remove MDSM::mPlayDuration.
Attachment #8658494 - Flags: review?(cpearce)
Comment on attachment 8658494 [details] MozReview Request: Bug 1202351 - Remove MDSM::mPlayDuration. https://reviewboard.mozilla.org/r/18615/#review16755 ::: dom/media/MediaDecoderStateMachine.cpp:2549 (Diff revision 1) > - > + auto clockTime = mMediaSink->GetPosition(aTimeStamp); In general, "auto" should be used sparingly, and only when using it increases readability. Like for knarly template types on iterators. When I see "auto" here I have to think to figure out what type it is. So I prefer we don't use "auto" for primitive types.
Attachment #8658494 - Flags: review?(cpearce) → review+
https://reviewboard.mozilla.org/r/18615/#review16755 > In general, "auto" should be used sparingly, and only when using it increases readability. Like for knarly template types on iterators. > > When I see "auto" here I have to think to figure out what type it is. So I prefer we don't use "auto" for primitive types. Will replace auto with int64_t. Thanks for the review!
Assignee: nobody → jwwang
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: