Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(933)

Unified Diff: services/video_capture/video_capture_device_proxy_impl.cc

Issue 2379253003: Video Capture Service: typemap video_capture's and media's VideoCaptureFormat (Closed)
Patch Set: more traits methods inlining Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/video_capture/video_capture_device_proxy_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/video_capture/video_capture_device_proxy_impl.cc
diff --git a/services/video_capture/video_capture_device_proxy_impl.cc b/services/video_capture/video_capture_device_proxy_impl.cc
index 2fc33b170515e70a62f5d605d7d5cd942a976377..3aa5520a5966a1f6d49a93129ea91ac0dba86af0 100644
--- a/services/video_capture/video_capture_device_proxy_impl.cc
+++ b/services/video_capture/video_capture_device_proxy_impl.cc
@@ -19,12 +19,12 @@ VideoCaptureDeviceProxyImpl::~VideoCaptureDeviceProxyImpl() {
}
void VideoCaptureDeviceProxyImpl::Start(
- mojom::VideoCaptureFormatPtr requested_format,
+ const media::VideoCaptureFormat& requested_format,
mojom::ResolutionChangePolicy resolution_change_policy,
mojom::PowerLineFrequency power_line_frequency,
mojom::VideoCaptureDeviceClientPtr client) {
media::VideoCaptureParams params;
- params.requested_format = ConvertFromMojoToMedia(std::move(requested_format));
+ params.requested_format = requested_format;
params.resolution_change_policy =
ConvertFromMojoToMedia(resolution_change_policy);
params.power_line_frequency = ConvertFromMojoToMedia(power_line_frequency);
« no previous file with comments | « services/video_capture/video_capture_device_proxy_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698