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

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

Issue 23693004: Change Mac Video Capture format change ARGB->YUY2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected the CVPixelFormat to UYUV 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 11dde73cc0d470b74da750629bcd111b8a7918dd..7614fd3f090cae2e80ff1e595a2cde3c42389c0b 100644
--- a/media/video/capture/mac/video_capture_device_mac.mm
+++ b/media/video/capture/mac/video_capture_device_mac.mm
@@ -149,7 +149,7 @@ void VideoCaptureDeviceMac::Allocate(
state_ = kAllocated;
VideoCaptureCapability current_settings;
- current_settings.color = PIXEL_FORMAT_ARGB;
+ current_settings.color = PIXEL_FORMAT_UYVY;
current_settings.width = width;
current_settings.height = height;
current_settings.frame_rate = frame_rate;

Powered by Google App Engine
This is Rietveld 408576698