)]}'
{
  "commit": "2fb412f9e6f69db5967bf11470fdcfbaa871feff",
  "tree": "90ad8349c120e6b8a8cc207ca963ccda4615b19b",
  "parents": [
    "4c1ce314920ad434b4e864a6a80b2a71daf201d9"
  ],
  "author": {
    "name": "stuartmorgan",
    "email": "stuart.morgan@gmail.com",
    "time": "Tue Nov 24 18:52:11 2026 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Nov 24 23:52:11 2026 +0000"
  },
  "message": "[video_player] Convert remaining code to Swift (#13643)\n\nCompletes the migration from Objective-C to Swift by converting the remaining code:\r\n- `ViewProvider` and `AssetProvider` protocols\r\n- The abstracted display link and its implementations\r\n  - The iOS- and macOS-specific code are now just ifdef\u0027d instead of separate targets. The file-level compilation separation was designed when the plugin was just using CocoaPods, and doing conditional compilation was trivial; in SwiftPM it added more complexity than it was worth (especially since there was a hidden circular dependency in the headers which would have required yet another target to fix in Swift)\r\n- The platform view for the platform-view-based playback codepath\r\n\r\nFixes https://github.com/flutter/flutter/issues/119105\r\nFixes https://github.com/flutter/flutter/issues/119015\r\n\r\n## Pre-Review Checklist\r\n\r\n**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member\u0027s review for guidance on which automated comments should be addressed.\r\n\r\n[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ef042a526ff09b2c21831b07db6238f21e25c563",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/CHANGELOG.md",
      "new_id": "7f75d2356a5db526b98128c16812f37f1335e1ea",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "ce36d19270aba401a8684009bb91c4ada36477f7",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/RunnerTests/TestClasses.swift",
      "new_id": "3d9d07a405656e46a01a5eae8c7e0c69b131be54",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/RunnerTests/TestClasses.swift"
    },
    {
      "type": "modify",
      "old_id": "28cac9103a9efe7869a9aa26ef76369a8bd5e8fa",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/RunnerTests/VideoPlayerTests.swift",
      "new_id": "e1dfc1c43a5eca4cdf8fa6d794f2c0cdd875a86b",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/RunnerTests/VideoPlayerTests.swift"
    },
    {
      "type": "modify",
      "old_id": "8cbf955e298b5c2573ab4fdc3d9b331d4f407bba",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation.podspec",
      "new_id": "68a8906001ee6bdc798e71d6c7814ac94b325b7d",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation.podspec"
    },
    {
      "type": "modify",
      "old_id": "e9eb6c653dfcf4053291ccaf83d23f4614722c9c",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Package.swift",
      "new_id": "c2395d5c6a0327c14f6059624dbf3f0abf25bc05",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Package.swift"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c9146b78568fe60771a8166e4adb555a5445e2f3",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/AssetProvider.swift"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b366f28e5d6982f62d4074180c0ff013c5a9f2ac",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/CoreAnimationDisplayLink.swift"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "620ef4d5232c040381967f5cd80d94d6a91bfe6d",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/CoreVideoDisplayLink.swift"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e09a56264c91a8146260615554705add24dd93c7",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/DisplayLink.swift"
    },
    {
      "type": "modify",
      "old_id": "74e2a106753b7c659741d02a929c5e3239fe1960",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/EventBridge.swift",
      "new_id": "bf5fb418794c3672417796e186e091a3ed28af30",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/EventBridge.swift"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c44b46f1d8a14adf7d4a97d4d3f9eb030a0b0429",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/FrameUpdater.swift"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "decbf3c4caacb522478dff60b9a351330d518cde",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/NativeVideoView.swift"
    },
    {
      "type": "modify",
      "old_id": "712891f77cd57cea84b9036118a26d7b6fd0dcf2",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/NativeVideoViewFactory.swift",
      "new_id": "226653063a1639a42efade216515ca60f3ed2fc1",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/NativeVideoViewFactory.swift"
    },
    {
      "type": "modify",
      "old_id": "4caf175056da4f4f4313f8e91ae0ecbc9b66466b",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/TextureBasedVideoPlayer.swift",
      "new_id": "a140c162b69854ff438f8886c776ffcbb7438775",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/TextureBasedVideoPlayer.swift"
    },
    {
      "type": "modify",
      "old_id": "957a8462d985352ea00189bb4497be5af4de9a53",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/VideoPlayer.swift",
      "new_id": "ea60dc56ca61754f7b07668e7dd17c339fd93b6f",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/VideoPlayer.swift"
    },
    {
      "type": "modify",
      "old_id": "62808ed92a01757a9fd3ae72a1f52e35727f7e07",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/VideoPlayerPlugin.swift",
      "new_id": "ad04037e91aae8301da74795d203896d8eadee64",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/VideoPlayerPlugin.swift"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cda2651d6cdaa250c1d456c2b10d71fcaec54413",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation/ViewProvider.swift"
    },
    {
      "type": "delete",
      "old_id": "91df76fb10fc5ee7368474a6eec344b0b3f4c63a",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios/FVPNativeVideoView.m",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios/include/.gitkeep",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "c63b19fd5827f7f3346636a15a71bf44592ebd58",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_ios/include/FVPEmpty.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "f6b4241bba8a784830f039e92b4f1c6efc4f7021",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_macos/FVPCoreVideoDisplayLink.m",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "ec2a2a986552dce878e181c4addb2adb613822d4",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_macos/FVPNativeVideoView.m",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_macos/include/.gitkeep",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "c63b19fd5827f7f3346636a15a71bf44592ebd58",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_macos/include/FVPEmpty.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "ef5e96dc7d85fabad71c9e5a81645b6bb365e912",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_objc/FVPCADisplayLink.m",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "745010c8bcba700d5199b3f708bb06f6ff4ead78",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_objc/FVPFrameUpdater.m",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "d9ac02d1beeba929088821d4ae6ec2615a2fd896",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_objc/FVPViewProvider.m",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "24758fe06eea328b4abcdd62d601cec2f12e100f",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPAssetProvider.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "3e4835b24aea442e512d1c922975a618769c6396",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPDisplayLink.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "684b6a5d3750767ef01fb8a28293cc1c3edbb890",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPFrameUpdater.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "23aabe08214f06c287bb6bdeeca89df909f3a595",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPNativeVideoView.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "delete",
      "old_id": "88689025d491c20df8cdd255895614934b523d89",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPViewProvider.h",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "17eecf65605efd3d553239327408dbeb0a71d45a",
      "old_mode": 33188,
      "old_path": "packages/video_player/video_player_avfoundation/pubspec.yaml",
      "new_id": "2b811798a284c6bc407f9f145e96f1f9e9c31270",
      "new_mode": 33188,
      "new_path": "packages/video_player/video_player_avfoundation/pubspec.yaml"
    }
  ]
}
