Skip to content

[video_player_avfoundation] CoreVideo deprecation warnings targeting macOS 15 #171391

@jmagman

Description

@jmagman

CoreVideo deprecation warnings in macOS 15:

video_player_avfoundation/Sources/video_player_avfoundation_macos/FVPDisplayLink.m:44:9: error: 'CVDisplayLinkCreateWithActiveCGDisplays' is deprecated: first deprecated in macOS 15.0 - use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)  [-Werror,-Wdeprecated-declarations]
   44 |     if (CVDisplayLinkCreateWithActiveCGDisplays(&_displayLink) == kCVReturnSuccess) {

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8710959007161047521/+/u/Run_package_tests/xcode_analyze_deprecation/stdout

Example:
https://github.com/flutter/packages/blob/471bfd305f4eb9340ca2783f26fa848707a20f8d/packages/video_player/video_player_avfoundation/darwin/video_player_avfoundation/Sources/video_player_avfoundation_macos/FVPDisplayLink.m#L44

Metadata

Metadata

Labels

fyi-ecosystemFor the attention of Ecosystem teamp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.team-macosOwned by the macOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions