|Submitter||Diff||Changes||Open Issues||Last Updated|
|Error loading review requests:|
59 bytes, text/x-review-board-request
|Details | Review|
To reduce the use of AbstractMediaDecoder.
Comment on attachment 8886463 [details] Bug 1380545 - remove DispatchKeyNeededEvent from MediaFormatReader.cpp. https://reviewboard.mozilla.org/r/157258/#review162380
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/30d0b7f0183d remove DispatchKeyNeededEvent from MediaFormatReader.cpp. r=gerald
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.
ni? You guys, so you keep the above in mind before making changes.... thank you
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.