Closed
Bug 1373577
Opened 7 years ago
Closed 7 years ago
Devritualize MediaResource::MediaReadAt()
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(3 files)
The difference is the sub-class override doesn't call DispatchBytesConsumed(). It doesn't make sense not to call that after you do consume some data. For callers that want silent reads, they should call ReadFromCache() instead.
Assignee | ||
Updated•7 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8878390 -
Flags: review?(jyavenard)
Attachment #8878391 -
Flags: review?(jyavenard)
Attachment #8878392 -
Flags: review?(jyavenard)
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8878390 [details] Bug 1373577. P1 - devritualize MediaResource::MediaReadAt(). https://reviewboard.mozilla.org/r/149730/#review154398
Attachment #8878390 -
Flags: review?(jyavenard) → review+
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8878391 [details] Bug 1373577. P2 - move the code of MediaResource::MediaReadAt() into MediaResourceIndex. https://reviewboard.mozilla.org/r/149732/#review154400 ::: commit-message-127e4:4 (Diff revision 1) > +Bug 1373577. P2 - move the code of MediaResource::MediaReadAt() into MediaResourceIndex. > + > +MediaReadAt() accesses only public members of MediaResource. It doesn't has > +to be a member of MediaResource. it doesn't have to be
Attachment #8878391 -
Flags: review?(jyavenard) → review+
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8878392 [details] Bug 1373577. P3 - fix the comment since MediaResource::ReatAt() does update the offset of MediaResource. https://reviewboard.mozilla.org/r/149734/#review154402
Attachment #8878392 -
Flags: review?(jyavenard) → review+
Assignee | ||
Comment 7•7 years ago
|
||
Thanks!
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 10•7 years ago
|
||
Pushed by jwwang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0eacbd673e5a P1 - devritualize MediaResource::MediaReadAt(). r=jya https://hg.mozilla.org/integration/autoland/rev/5f983c055532 P2 - move the code of MediaResource::MediaReadAt() into MediaResourceIndex. r=jya https://hg.mozilla.org/integration/autoland/rev/c8d764a48d58 P3 - fix the comment since MediaResource::ReatAt() does update the offset of MediaResource. r=jya
Comment 11•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0eacbd673e5a https://hg.mozilla.org/mozilla-central/rev/5f983c055532 https://hg.mozilla.org/mozilla-central/rev/c8d764a48d58
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•