Closed
Bug 1202351
Opened 9 years ago
Closed 9 years ago
Remove MDSM::mPlayDuration
Categories
(Core :: Audio/Video: Playback, defect, P2)
Core
Audio/Video: Playback
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.
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Bug 1202351 - Remove MDSM::mPlayDuration.
Attachment #8658494 -
Flags: review?(cpearce)
Comment 3•9 years ago
|
||
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+
Assignee | ||
Comment 4•9 years ago
|
||
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!
Updated•9 years ago
|
Assignee: nobody → jwwang
Updated•9 years ago
|
Priority: -- → P2
Comment 6•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•