Index: webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm |
diff --git a/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm b/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm |
index 8a6d448a9335ee3ebe8fd2966df13b862fedb03f..f83fe2d3726b909a1b2617fcac7bf6ad178e7a5e 100644 |
--- a/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm |
+++ b/webrtc/modules/video_capture/mac/qtkit/video_capture_qtkit_objc.mm |
@@ -24,6 +24,9 @@ using namespace videocapturemodule; |
@implementation VideoCaptureMacQTKitObjC |
+// TODO(hjon): Update deprecated APIs (see webrtc:5478 for details). |
+#pragma clang diagnostic push |
+#pragma clang diagnostic ignored "-Wdeprecated" |
-(id)init { |
self = [super init]; |
if (self) { |
@@ -256,5 +259,6 @@ using namespace videocapturemodule; |
_framesDelivered++; |
_framesRendered++; |
} |
+#pragma clang diagnostic pop |
@end |