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

Unified Diff: media/video/capture/mac/video_capture_device_mac.mm

Issue 24079003: Add VideoCaptureDevice::GetDeviceSupportedFormats to interface + implementation for Linux and Fake (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed inexistent video_capture_device_dummy; also removed from media.gyp targets. Created 7 years, 3 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
Index: media/video/capture/mac/video_capture_device_mac.mm
diff --git a/media/video/capture/mac/video_capture_device_mac.mm b/media/video/capture/mac/video_capture_device_mac.mm
index eea861481fe8a00608429eaa2fbcd22660b4fdf1..9773a32a330e4f421a56319f0f2d6d5082f7c359 100644
--- a/media/video/capture/mac/video_capture_device_mac.mm
+++ b/media/video/capture/mac/video_capture_device_mac.mm
@@ -127,8 +127,7 @@ void VideoCaptureDeviceMac::Allocate(
// QTKit can scale captured frame to any size requested, which would lead to
// undesired aspect ratio change. Tries to open the camera with a natively
// supported format and let the client to crop/pad the captured frames.
- GetBestMatchSupportedResolution(&width,
- &height);
+ GetBestMatchSupportedResolution(&width, &height);
observer_ = observer;
NSString* deviceId =

Powered by Google App Engine
This is Rietveld 408576698