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

Thomas Guillem git at videolan.org
Tue May 22 10:39:17 CEST 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue May 22 10:30:57 2018 +0200| [86ee0fd97738943c3ef9419411e3872be621f46e] | committer: Thomas Guillem

videotoolbox: drop H264-10b support on macOS

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

(cherry picked from commit 8f2f8be2c036e24ee2c7dad78560ac170700fa55)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=86ee0fd97738943c3ef9419411e3872be621f46e
---

 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 b041d23b18..64e5815516 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -1523,11 +1523,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