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 7614fd3f090cae2e80ff1e595a2cde3c42389c0b..9ba09172af13c6cd99a47225d2daa92f7843a9e6 100644 |
--- a/media/video/capture/mac/video_capture_device_mac.mm |
+++ b/media/video/capture/mac/video_capture_device_mac.mm |
@@ -122,8 +122,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 = |
@@ -194,6 +193,12 @@ const VideoCaptureDevice::Name& VideoCaptureDeviceMac::device_name() { |
return device_name_; |
} |
+void VideoCaptureDeviceMac::GetDeviceSupportedFormats( |
+ const std::string& device_name, |
+ VideoCaptureFormats* capture_formats){ |
+ NOTIMPLEMENTED(); |
+} |
+ |
bool VideoCaptureDeviceMac::Init() { |
DCHECK_EQ(loop_proxy_, base::MessageLoopProxy::current()); |
DCHECK_EQ(state_, kNotInitialized); |