[vlc-commits] videotoolbox: drop H264-10b support on macOS

Thomas Guillem git at videolan.org
Tue May 22 10:38:54 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue May 22 10:30:57 2018 +0200| [8f2f8be2c036e24ee2c7dad78560ac170700fa55] | committer: Thomas Guillem

videotoolbox: drop H264-10b support on macOS

Too risky, too many glitches and it's not officially supported.

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

 modules/codec/videotoolbox.m | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index d6cab049b3..3577975ce0 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -1527,11 +1527,8 @@ static BOOL deviceSupportsAdvancedProfiles()
     if (type == CPU_TYPE_ARM64)
         return YES;
 
-    return NO;
-#else
-    /* Assume that the CPU support advanced profiles if it can handle HEVC */
-    return deviceSupportsHEVC();
 #endif
+    return NO;
 }
 
 static BOOL deviceSupportsAdvancedLevels()



More information about the vlc-commits mailing list