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

Unified Diff: webrtc/modules/video_capture/video_capture_factory.cc

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/video_capture_factory.cc
diff --git a/webrtc/modules/video_capture/video_capture_factory.cc b/webrtc/modules/video_capture/video_capture_factory.cc
index 927beba080e2cba0ed325b937301ff8bf09ad40a..ec016f8d3d48776e7f984f11af43bd8f24dbce17 100644
--- a/webrtc/modules/video_capture/video_capture_factory.cc
+++ b/webrtc/modules/video_capture/video_capture_factory.cc
@@ -15,27 +15,24 @@
namespace webrtc {
rtc::scoped_refptr<VideoCaptureModule> VideoCaptureFactory::Create(
- const int32_t id,
const char* deviceUniqueIdUTF8) {
#if defined(ANDROID)
return nullptr;
#else
- return videocapturemodule::VideoCaptureImpl::Create(id, deviceUniqueIdUTF8);
+ return videocapturemodule::VideoCaptureImpl::Create(deviceUniqueIdUTF8);
#endif
}
rtc::scoped_refptr<VideoCaptureModule> VideoCaptureFactory::Create(
- const int32_t id,
VideoCaptureExternal*& externalCapture) {
- return videocapturemodule::VideoCaptureImpl::Create(id, externalCapture);
+ return videocapturemodule::VideoCaptureImpl::Create(externalCapture);
}
-VideoCaptureModule::DeviceInfo* VideoCaptureFactory::CreateDeviceInfo(
- const int32_t id) {
+VideoCaptureModule::DeviceInfo* VideoCaptureFactory::CreateDeviceInfo() {
#if defined(ANDROID)
return nullptr;
#else
- return videocapturemodule::VideoCaptureImpl::CreateDeviceInfo(id);
+ return videocapturemodule::VideoCaptureImpl::CreateDeviceInfo();
#endif
}
« no previous file with comments | « webrtc/modules/video_capture/video_capture_factory.h ('k') | webrtc/modules/video_capture/video_capture_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698