| Index: media/video/capture/mac/video_capture_device_avfoundation_mac.mm
|
| diff --git a/media/video/capture/mac/video_capture_device_avfoundation_mac.mm b/media/video/capture/mac/video_capture_device_avfoundation_mac.mm
|
| index dee6bc05e819543458633b3c43e91e17f4a2c512..2282f8ff22fd11dea2ad7b5d5a67702b843bb14f 100644
|
| --- a/media/video/capture/mac/video_capture_device_avfoundation_mac.mm
|
| +++ b/media/video/capture/mac/video_capture_device_avfoundation_mac.mm
|
| @@ -207,13 +207,13 @@
|
| // The reason for this mismatch is probably because most of the AVFoundation
|
| // docs are written for iOS and not for MacOsX.
|
| // AVVideoScalingModeKey() refers to letterboxing yes/no and preserve aspect
|
| - // ratio yes/no when scaling. Currently we set letterbox and preservation.
|
| + // ratio yes/no when scaling. Currently we set cropping and preservation.
|
| NSDictionary* videoSettingsDictionary = @{
|
| (id)kCVPixelBufferWidthKey : @(width),
|
| (id)kCVPixelBufferHeightKey : @(height),
|
| (id)kCVPixelBufferPixelFormatTypeKey : @(kCVPixelFormatType_422YpCbCr8),
|
| AVFoundationGlue::AVVideoScalingModeKey() :
|
| - AVFoundationGlue::AVVideoScalingModeResizeAspect()
|
| + AVFoundationGlue::AVVideoScalingModeResizeAspectFill()
|
| };
|
| [captureVideoDataOutput_ setVideoSettings:videoSettingsDictionary];
|
|
|
|
|