Commit 085c92aa authored by François Beaufort's avatar François Beaufort Committed by Commit Bot

[PTZ] Fix VideoCaptureDeviceFactoryMacTest PTZ test

This CL makes sure we're testing the value of pan_tilt_zoom_supported()
when checking VideoCaptureDeviceDescriptors on macOS.

Bug: 1095718
Change-Id: I5d3502b571735dd5f1f305f9face2217235944aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2247728
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: default avatarMirko Bonadei <mbonadei@chromium.org>
Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Reviewed-by: default avatarEero Häkkinen <eero.hakkinen@intel.com>
Cr-Commit-Position: refs/heads/master@{#779786}
parent d4954632
......@@ -57,7 +57,7 @@ TEST(VideoCaptureDeviceFactoryMacTest, ListDevicesWithNoPanTiltZoomSupport) {
return;
}
for (const auto& descriptor : descriptors)
EXPECT_FALSE(descriptor.pan_tilt_zoom_supported());
EXPECT_FALSE(descriptor.pan_tilt_zoom_supported().value());
}));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment