Chromium Code Reviews

Unified Diff: webrtc/modules/video_capture/external/video_capture_external.cc

Issue 2534553002: Replace VideoCaptureDataCallback by VideoSinkInterface. (Closed)
Patch Set: Drop inheritance of RefCountedModule. Drop tests of capture delay. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/video_capture/external/video_capture_external.cc
diff --git a/webrtc/modules/video_capture/external/video_capture_external.cc b/webrtc/modules/video_capture/external/video_capture_external.cc
index d636eeeef126c33a23f3159754aa10eee6fcc8b2..828179a555d74bd711e96c9490e5481fef56ce0d 100644
--- a/webrtc/modules/video_capture/external/video_capture_external.cc
+++ b/webrtc/modules/video_capture/external/video_capture_external.cc
@@ -16,9 +16,8 @@ namespace webrtc {
namespace videocapturemodule {
rtc::scoped_refptr<VideoCaptureModule> VideoCaptureImpl::Create(
- const int32_t id,
const char* deviceUniqueIdUTF8) {
- return new rtc::RefCountedObject<VideoCaptureImpl>(id);
+ return new rtc::RefCountedObject<VideoCaptureImpl>();
}
} // namespace videocapturemodule

Powered by Google App Engine