Skip to content

Commit 75d0c30

Browse files
authored
[VideoToolbox] Update bindings all the way to Xcode 26.4 (#25027)
1 parent 7db86ec commit 75d0c30

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

src/VideoToolbox/VTUtilities.cs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,19 @@ public static VTStatus ToCGImage (this CVPixelBuffer pixelBuffer, out CGImage? i
5454
return ret;
5555
}
5656

57-
#if MONOMAC
58-
5957
[SupportedOSPlatform ("macos")]
60-
[UnsupportedOSPlatform ("maccatalyst")]
61-
[UnsupportedOSPlatform ("tvos")]
62-
[UnsupportedOSPlatform ("ios")]
58+
[SupportedOSPlatform ("ios26.4")]
59+
[SupportedOSPlatform ("tvos26.4")]
60+
[SupportedOSPlatform ("maccatalyst26.4")]
6361
[DllImport (Constants.VideoToolboxLibrary)]
6462
static extern void VTRegisterSupplementalVideoDecoderIfAvailable (uint codecType);
6563

6664
[SupportedOSPlatform ("macos")]
67-
[UnsupportedOSPlatform ("maccatalyst")]
68-
[UnsupportedOSPlatform ("tvos")]
69-
[UnsupportedOSPlatform ("ios")]
65+
[SupportedOSPlatform ("ios26.4")]
66+
[SupportedOSPlatform ("tvos26.4")]
67+
[SupportedOSPlatform ("maccatalyst26.4")]
7068
public static void RegisterSupplementalVideoDecoder (CMVideoCodecType codecType)
7169
=> VTRegisterSupplementalVideoDecoderIfAvailable ((uint) codecType);
72-
#endif
7370

7471
#if __MACOS__
7572
[UnsupportedOSPlatform ("ios")]

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-VideoToolbox.todo

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/iOS-VideoToolbox.todo

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/tvOS-VideoToolbox.todo

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)