[vlc-commits] [Git][videolan/vlc][master] codec: apple: fix tvOS compatibility to get a cvpx attachment
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Tue Sep 12 14:48:42 UTC 2023
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
122ad196 by Maxime Chapelet at 2023-09-12T14:29:22+00:00
codec: apple: fix tvOS compatibility to get a cvpx attachment
- - - - -
1 changed file:
- modules/codec/vt_utils.c
Changes:
=====================================
modules/codec/vt_utils.c
=====================================
@@ -403,7 +403,7 @@ cvpx_map_TransferFunction_from_vtf(video_transfer_func_t transfer_func)
}
bool cvpx_has_attachment(CVPixelBufferRef pixelBuffer, CFStringRef key) {
- if (__builtin_available(macOS 10.12, iOS 15, *)) {
+ if (__builtin_available(macOS 10.12, iOS 15, tvOS 15.0, *)) {
return CVBufferHasAttachment(pixelBuffer, key);
}
#pragma clang diagnostic push
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/122ad196f74dc0d5148fc142eb706a7433203dc9
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/122ad196f74dc0d5148fc142eb706a7433203dc9
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list