| Index: webrtc/modules/video_capture/video_capture_factory.h
|
| diff --git a/webrtc/modules/video_capture/video_capture_factory.h b/webrtc/modules/video_capture/video_capture_factory.h
|
| index 4765be1fdeeeaaf0cbfc4639b81ab50aefa45f85..f05609a643ab01ed177991802ea0e59cd4bd4d8c 100644
|
| --- a/webrtc/modules/video_capture/video_capture_factory.h
|
| +++ b/webrtc/modules/video_capture/video_capture_factory.h
|
| @@ -24,14 +24,16 @@ class VideoCaptureFactory {
|
| // id - unique identifier of this video capture module object.
|
| // deviceUniqueIdUTF8 - name of the device.
|
| // Available names can be found by using GetDeviceName
|
| - static VideoCaptureModule* Create(const int32_t id,
|
| - const char* deviceUniqueIdUTF8);
|
| + static rtc::scoped_refptr<VideoCaptureModule> Create(
|
| + const int32_t id,
|
| + const char* deviceUniqueIdUTF8);
|
|
|
| // Create a video capture module object used for external capture.
|
| // id - unique identifier of this video capture module object
|
| // externalCapture - [out] interface to call when a new frame is captured.
|
| - static VideoCaptureModule* Create(const int32_t id,
|
| - VideoCaptureExternal*& externalCapture);
|
| + static rtc::scoped_refptr<VideoCaptureModule> Create(
|
| + const int32_t id,
|
| + VideoCaptureExternal*& externalCapture);
|
|
|
| static VideoCaptureModule::DeviceInfo* CreateDeviceInfo(
|
| const int32_t id);
|
|
|