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

Unified Diff: webrtc/modules/video_capture/objc/device_info_objc.mm

Issue 2765243002: Delete RawVideoType enum, use the VideoType enum instead. (Closed)
Patch Set: Define constant webrtc::kI420, for backwards compatibility. Created 3 years, 8 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: webrtc/modules/video_capture/objc/device_info_objc.mm
diff --git a/webrtc/modules/video_capture/objc/device_info_objc.mm b/webrtc/modules/video_capture/objc/device_info_objc.mm
index 30a07b973b17bb5cdb8afb5d7d16bb528a5d7c18..1db03a490f61f9aad2219c7551814ee154d431b5 100644
--- a/webrtc/modules/video_capture/objc/device_info_objc.mm
+++ b/webrtc/modules/video_capture/objc/device_info_objc.mm
@@ -60,19 +60,19 @@
capability.width = 352;
capability.height = 288;
capability.maxFPS = 30;
- capability.rawType = webrtc::kVideoNV12;
+ capability.videoType = webrtc::VideoType::kNV12;
capability.interlaced = false;
} else if ([preset isEqualToString:AVCaptureSessionPreset640x480]) {
capability.width = 640;
capability.height = 480;
capability.maxFPS = 30;
- capability.rawType = webrtc::kVideoNV12;
+ capability.videoType = webrtc::VideoType::kNV12;
capability.interlaced = false;
} else if ([preset isEqualToString:AVCaptureSessionPreset1280x720]) {
capability.width = 1280;
capability.height = 720;
capability.maxFPS = 30;
- capability.rawType = webrtc::kVideoNV12;
+ capability.videoType = webrtc::VideoType::kNV12;
capability.interlaced = false;
}
« no previous file with comments | « webrtc/modules/video_capture/linux/video_capture_linux.cc ('k') | webrtc/modules/video_capture/objc/rtc_video_capture_objc.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698