[vlc-commits] ci filters: Remove runtime check for kCGColorSpaceITUR_709

David Fuhrmann git at videolan.org
Sat Mar 16 21:38:56 CET 2019


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Mar 16 21:30:12 2019 +0100| [4e55ea70dae0125f3c7cb26482517f9a9a5418ee] | committer: David Fuhrmann

ci filters: Remove runtime check for kCGColorSpaceITUR_709

This is now available in all supported versions (iOS 9, macOS 10.11).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e55ea70dae0125f3c7cb26482517f9a9a5418ee
---

 modules/video_filter/ci_filters.m | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/video_filter/ci_filters.m b/modules/video_filter/ci_filters.m
index 700ddbae72..8511858aec 100644
--- a/modules/video_filter/ci_filters.m
+++ b/modules/video_filter/ci_filters.m
@@ -594,11 +594,6 @@ Open(vlc_object_t *obj, char const *psz_filter)
         case VLC_CODEC_CVPX_UYVY:
         case VLC_CODEC_CVPX_I420:
         case VLC_CODEC_CVPX_BGRA:
-            if (&kCGColorSpaceITUR_709 == nil)
-            {
-                msg_Warn(obj, "iOS/macOS version is too old, aborting...");
-                return VLC_EGENERIC;
-            }
             break;
         default:
             return VLC_EGENERIC;



More information about the vlc-commits mailing list