RESOLVED FIXED 146352
[Mac] Disable QTKit by default.
https://bugs.webkit.org/show_bug.cgi?id=146352
Summary [Mac] Disable QTKit by default.
Said Abou-Hallawa
Reported 2015-06-26 11:02:14 PDT
From now on, QTKit has be to disabled by default on Mac.
Attachments
Patch (1.24 KB, patch)
2015-06-26 11:10 PDT, Said Abou-Hallawa
no flags
Patch (1.57 KB, patch)
2015-06-26 11:39 PDT, Said Abou-Hallawa
no flags
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (697.67 KB, application/zip)
2015-06-26 12:19 PDT, Build Bot
no flags
Archive of layout-test-results from ews101 for mac-mavericks (580.37 KB, application/zip)
2015-06-26 12:32 PDT, Build Bot
no flags
Patch (3.42 KB, patch)
2015-06-26 15:53 PDT, Said Abou-Hallawa
no flags
Patch (3.44 KB, patch)
2015-06-29 08:43 PDT, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2015-06-26 11:10:10 PDT
Said Abou-Hallawa
Comment 2 2015-06-26 11:17:08 PDT
Eric Carlson
Comment 3 2015-06-26 11:22:05 PDT
Comment on attachment 255649 [details] Patch This is wrong, it disables AVFoundation on all versions of OS X and does not change QTKit. Instead we should always set Settings::gQTKitEnabled to false and Settings::gAVFoundationEnabled to true.
Said Abou-Hallawa
Comment 4 2015-06-26 11:39:33 PDT
Said Abou-Hallawa
Comment 5 2015-06-26 11:40:36 PDT
(In reply to comment #3) > Comment on attachment 255649 [details] > Patch > > This is wrong, it disables AVFoundation on all versions of OS X and does not > change QTKit. Instead we should always set Settings::gQTKitEnabled to false > and Settings::gAVFoundationEnabled to true. Sorry. Done.
Build Bot
Comment 6 2015-06-26 12:19:30 PDT
Comment on attachment 255653 [details] Patch Attachment 255653 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/6021608846131200 New failing tests: http/tests/media/remove-while-loading.html http/tests/security/contentSecurityPolicy/media-src-allowed.html http/tests/media/video-served-as-text.html http/tests/media/video-accept-encoding.html http/tests/media/video-throttled-load-metadata.html http/tests/media/video-cancel-load.html
Build Bot
Comment 7 2015-06-26 12:19:33 PDT
Created attachment 255657 [details] Archive of layout-test-results from ews106 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Build Bot
Comment 8 2015-06-26 12:32:49 PDT
Comment on attachment 255653 [details] Patch Attachment 255653 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6492062383865856 New failing tests: http/tests/media/remove-while-loading.html http/tests/security/contentSecurityPolicy/media-src-allowed.html http/tests/media/video-served-as-text.html http/tests/media/video-accept-encoding.html http/tests/media/video-throttled-load-metadata.html http/tests/media/video-cancel-load.html
Build Bot
Comment 9 2015-06-26 12:32:52 PDT
Created attachment 255659 [details] Archive of layout-test-results from ews101 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Said Abou-Hallawa
Comment 10 2015-06-26 15:53:30 PDT
Darin Adler
Comment 11 2015-06-27 14:54:07 PDT
Comment on attachment 255672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=255672&action=review > Source/WebCore/ChangeLog:13 > + * page/Settings.cpp: > + (WebCore::invalidateAfterGenericFamilyChange): Remove the requirement for > + enabling QTKit and AVFoundation. QTKit should be disabled always. And > + AVFoundation should be enabled always. Should gAVFoundationEnabled exist at all any more, then?
Said Abou-Hallawa
Comment 12 2015-06-29 08:43:36 PDT
Said Abou-Hallawa
Comment 13 2015-06-29 08:51:37 PDT
(In reply to comment #11) > Comment on attachment 255672 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=255672&action=review > > > Source/WebCore/ChangeLog:13 > > + * page/Settings.cpp: > > + (WebCore::invalidateAfterGenericFamilyChange): Remove the requirement for > > + enabling QTKit and AVFoundation. QTKit should be disabled always. And > > + AVFoundation should be enabled always. > > Should gAVFoundationEnabled exist at all any more, then? My comment was unclear. It is now fixed. This patch is fixing the initial state of enabling AVFoundation and QTKit. Both flags can exist in the same build: if USE(AVFOUNDATION) and PLATFORM(COCOA) are both true. They can register different media engines at the same time; see buildMediaEnginesVector(). And their values can be changed later separately through Settings::setAVFoundationEnabled() and Settings::setQTKitEnabled(). So I think merging them in one flag is incorrect or at least will affect the clarity of the code.
WebKit Commit Bot
Comment 14 2015-06-29 10:19:15 PDT
Comment on attachment 255749 [details] Patch Clearing flags on attachment: 255749 Committed r186071: <http://trac.webkit.org/changeset/186071>
WebKit Commit Bot
Comment 15 2015-06-29 10:19:19 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.