aboutsummaryrefslogtreecommitdiff
path: root/modules/video_capture
diff options
context:
space:
mode:
authorMirko Bonadei <mbonadei@webrtc.org>2020-03-30 09:13:59 +0200
committerCommit Bot <commit-bot@chromium.org>2020-03-30 07:34:12 +0000
commite9286d7273f30cefa7e1f99e998ddffc6199d466 (patch)
tree7ab141e8e5016c91fb30463d338619cd7036fc23 /modules/video_capture
parent7d4fe0ae411a9507e609ebcf696a6b441c23f95c (diff)
downloadwebrtc-e9286d7273f30cefa7e1f99e998ddffc6199d466.tar.gz
Fix -Wunreacheable-code on Mac.
After [1], Chromium Roll's CLs don't compile and test anything. This needs to be fixed but in the meantime a breakage started to happen. This CL fixes the problem. [1] - https://chromium-review.googlesource.com/c/chromium/tools/build/+/2124478 TBR=mflodman@webrtc.org No-Tree-Checks: true Bug: None Change-Id: Ia4ebe7bd1258755bec1c420763037b235dc7dab8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172091 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Magnus Flodman <mflodman@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30935}
Diffstat (limited to 'modules/video_capture')
-rw-r--r--modules/video_capture/test/video_capture_unittest.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/video_capture/test/video_capture_unittest.cc b/modules/video_capture/test/video_capture_unittest.cc
index 4a726db8f2..be443e0820 100644
--- a/modules/video_capture/test/video_capture_unittest.cc
+++ b/modules/video_capture/test/video_capture_unittest.cc
@@ -242,11 +242,6 @@ TEST_F(VideoCaptureTest, MAYBE_CreateDelete) {
#define MAYBE_Capabilities Capabilities
#endif
TEST_F(VideoCaptureTest, MAYBE_Capabilities) {
-#ifdef WEBRTC_MAC
- printf("Video capture capabilities are not supported on Mac.\n");
- return;
-#endif
-
TestVideoCaptureCallback capture_observer;
rtc::scoped_refptr<VideoCaptureModule> module(