Closed
Bug 1380545
Opened 7 years ago
Closed 7 years ago
Remove DispatchKeyNeededEvent from MediaFormatReader.cpp
Categories
(Core :: Audio/Video: Playback, enhancement)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(1 file)
To reduce the use of AbstractMediaDecoder.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8886463 -
Flags: review?(gsquelart)
Assignee: nobody → jwwang
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8886463 [details]
Bug 1380545 - remove DispatchKeyNeededEvent from MediaFormatReader.cpp.
https://reviewboard.mozilla.org/r/157258/#review162380
Attachment #8886463 -
Flags: review?(gsquelart) → review+
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/30d0b7f0183d
remove DispatchKeyNeededEvent from MediaFormatReader.cpp. r=gerald
Comment 5•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Comment 6•7 years ago
|
||
I’m concerned that you’re moving functions to a class you want to remove (AbstractMediaDecoder) to a class that should be removed (MediaDecoderReader).
Only MediaFormatReader should remain, we no longer need the MediaDecoderReader base class.
Updated•7 years ago
|
Flags: needinfo?(jwwang)
Comment 7•7 years ago
|
||
ni? You guys, so you keep the above in mind before making changes.... thank you
Flags: needinfo?(gsquelart)
Assignee | ||
Comment 8•7 years ago
|
||
Since mOnEncrypted is used by MFR only, it is easy to move OnEncrypted() from MDR to MFR. The function should be in MFR in the first place. But the reference to MDR from MediaDecoder prevents us from doing that. Once we remove MDR, we can have MediaDecoder reference MFR directly.
Flags: needinfo?(jwwang)
Flags: needinfo?(gsquelart)
You need to log in
before you can comment on or make changes to this bug.
Description
•