Index: webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm |
similarity index 98% |
rename from webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm |
rename to webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm |
index d3ce8208e41d0796babd006252bb298e4ff35afe..538734b0f42537aaf3f3f2b9b0b159edf97f96ae 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm |
+++ b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm |
@@ -9,7 +9,9 @@ |
* |
*/ |
-#include "webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h" |
+#include "webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h" |
+ |
+#if defined(WEBRTC_VIDEO_TOOLBOX_SUPPORTED) |
#include <memory> |
#include <string> |
@@ -23,7 +25,7 @@ |
#include "webrtc/base/checks.h" |
#include "webrtc/base/logging.h" |
#include "webrtc/common_video/include/corevideo_frame_buffer.h" |
-#include "webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu.h" |
+#include "webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h" |
#include "webrtc/system_wrappers/include/clock.h" |
namespace internal { |
@@ -658,3 +660,5 @@ void H264VideoToolboxEncoder::OnEncodedFrame( |
} |
} // namespace webrtc |
+ |
+#endif // defined(WEBRTC_VIDEO_TOOLBOX_SUPPORTED) |