[vlc-commits] videotoolbox: remove unused iOS version check
Thomas Guillem
git at videolan.org
Fri Jan 10 13:02:00 CET 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jan 9 14:13:48 2020 +0100| [310b6484caa9702014faa4c9a4eb35d733be2881] | committer: Thomas Guillem
videotoolbox: remove unused iOS version check
VLC 4.0 won't run on iOS 8.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=310b6484caa9702014faa4c9a4eb35d733be2881
---
modules/codec/videotoolbox.m | 7 -------
1 file changed, 7 deletions(-)
diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index ae99214e49..9cd107d79f 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -1323,13 +1323,6 @@ static int OpenDecoder(vlc_object_t *p_this)
if (!var_InheritBool(p_dec, "videotoolbox"))
return VLC_EGENERIC;
-#if TARGET_OS_IPHONE
- if (unlikely([[UIDevice currentDevice].systemVersion floatValue] < 8.0)) {
- msg_Warn(p_dec, "decoder skipped as OS is too old");
- return VLC_EGENERIC;
- }
-#endif
-
/* Fail if this module already failed to decode this ES */
if (var_Type(p_dec, "videotoolbox-failed") != 0)
return VLC_EGENERIC;
More information about the vlc-commits
mailing list