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

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

Issue 2534553002: Replace VideoCaptureDataCallback by VideoSinkInterface. (Closed)
Patch Set: Break overlong lines. Created 4 years 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.mm
diff --git a/webrtc/modules/video_capture/objc/device_info.mm b/webrtc/modules/video_capture/objc/device_info.mm
index 2535f1c69e32cb6b661dcaedf470792cd8246784..876dbb21717dbf4c07aefa61c9bfcfb548d1f0a2 100644
--- a/webrtc/modules/video_capture/objc/device_info.mm
+++ b/webrtc/modules/video_capture/objc/device_info.mm
@@ -30,17 +30,15 @@ static NSArray* camera_presets = @[
];
#define IOS_UNSUPPORTED() \
- WEBRTC_TRACE(kTraceError, kTraceVideoCapture, _id, \
+ WEBRTC_TRACE(kTraceError, kTraceVideoCapture, 0, \
"%s is not supported on the iOS platform.", __FUNCTION__); \
return -1;
-VideoCaptureModule::DeviceInfo* VideoCaptureImpl::CreateDeviceInfo(
- const int32_t device_id) {
- return new DeviceInfoIos(device_id);
+VideoCaptureModule::DeviceInfo* VideoCaptureImpl::CreateDeviceInfo() {
+ return new DeviceInfoIos();
}
-DeviceInfoIos::DeviceInfoIos(const int32_t device_id)
- : DeviceInfoImpl(device_id) {
+DeviceInfoIos::DeviceInfoIos() {
this->Init();
}
« no previous file with comments | « webrtc/modules/video_capture/objc/device_info.h ('k') | webrtc/modules/video_capture/objc/rtc_video_capture_objc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698