iOS: Always build H264 HW encoder/decoder

This CL removes the use_objc_h264 flag. This means that the VideoToolbox
H264 encoder and decoder will always be built.

BUG=webrtc:4081
NOTRY=TRUE

Review-Url: https://codereview.webrtc.org/2366443003
Cr-Commit-Position: refs/heads/master@{#14372}
This commit is contained in:
magjed
2016-09-23 07:01:37 -07:00
committed by Commit bot
parent 512ecb3206
commit 44428a8aa6
5 changed files with 2 additions and 19 deletions

View File

@ -18,8 +18,7 @@
namespace webrtc {
bool IsH264CodecSupportedObjC() {
#if defined(WEBRTC_OBJC_H264) && \
defined(WEBRTC_VIDEO_TOOLBOX_SUPPORTED) && \
#if defined(WEBRTC_VIDEO_TOOLBOX_SUPPORTED) && \
defined(WEBRTC_IOS)
// Supported on iOS8+.
return [[[UIDevice currentDevice] systemVersion] doubleValue] >= 8.0;