Commit 7e00fb54 authored by Ricky Liang's avatar Ricky Liang Committed by Commit Bot

Fix obsolete comment

We support GpuMemoryBuffer-based buffer in FakeVideoCaptureDevice now [1],
so update the comment accordingly.

[1]: https://crrev.com/c/1863055

Bug: 982201
Change-Id: I8108e3f45caf4d9eead3d3c88ea1a8e5f31adc1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890381Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Commit-Queue: Ricky Liang <jcliang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711577}
parent 989e0886
......@@ -140,8 +140,7 @@ void ServiceVideoCaptureDeviceLauncher::LaunchDeviceAsync(
media::VideoCaptureDevice::GetPowerLineFrequency(params);
// GpuMemoryBuffer-based VideoCapture buffer works only on the Chrome OS
// VideoCaptureDevice implementation. It's not supported by
// FakeVideoCaptureDevice.
// VideoCaptureDevice implementation.
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kVideoCaptureUseGpuMemoryBuffer)) {
new_params.buffer_type = media::VideoCaptureBufferType::kGpuMemoryBuffer;
......
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