forked from flutter/flutter
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[video_player] Darwin implementation cleanup (flutter#6507)
Does some cleanup/improvements to the iOS/macOS implementation in preparation for future work: - Modernizes the Pigeon API. The current version dates from when methods could only take and return a single class object, so had wrapper classes for everything that are no longer needed. - Removes unnecessary branching for iOS and macOS by enabling the new frame checking logic for iOS. This was only there to avoid coupling iOS behavioral changes to enabling initial macOS support. - Removes an async workaround that says it's for a race that was fixed in the engine a long time ago (far longer than our oldest supported Flutter version). - Resolves a TODO about unregistering at engine shutdown, as it's been supported on `stable` for quite a while now. Fixes flutter#138427
- Loading branch information
1 parent
78f684c
commit fc47eb7
Showing
15 changed files
with
718 additions
and
1,160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.