-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disallow MSE with mp4 should AVStreamDataParser be non-functional #8439
Disallow MSE with mp4 should AVStreamDataParser be non-functional #8439
Conversation
EWS run on previous version of this PR (hash 17d1039) |
@@ -208,6 +208,13 @@ AtomString codec() const override | |||
|
|||
MediaPlayerEnums::SupportsType SourceBufferParserAVFObjC::isContentTypeSupported(const ContentType& type) | |||
{ | |||
// Check that AVStreamDataParser is in a functional state. | |||
if (!PAL::getAVStreamDataParserClass()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!PAL::getAVStreamDataParserClass()) { | |
if (PAL::getAVStreamDataParserClass()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, I had actually fixed that but didn't commit it, again a last minute change trying to change the code flow :(
17d1039
to
8e5eecd
Compare
EWS run on current version of this PR (hash 8e5eecd) |
https://bugs.webkit.org/show_bug.cgi?id=250367 rdar://104065947 Reviewed by Youenn Fablet. On iPhone, MSE is disabled by default. It can be enabled using an experimental setting, however it is mostly non-functional as the SourceBufferParserAVFObjC relies on AVStreamDataParser class which itself is non-functional. So testing for the availability of this class isn't sufficient, we need to test that the init method itself doesn't return nil. No test, as currently all MSE tests are disabled on iOS, and enabling those is out of scope for this change.i On other platforms, covered by existing tests. * Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferParserAVFObjC.mm: (WebCore::SourceBufferParserAVFObjC::isContentTypeSupported): Canonical link: https://commits.webkit.org/258716@main
8e5eecd
to
1f86058
Compare
Committed 258716@main (1f86058): https://commits.webkit.org/258716@main Reviewed commits have been landed. Closing PR #8439 and removing active labels. |
1f86058
8e5eecd
π π§ͺ winπ wincairoπ§ͺ ios-wk2π§ͺ api-macπ§ͺ gtk-wk2π§ͺ api-iosπ§ͺ api-gtkπ§ͺ mac-AS-debug-wk2