| Index: webrtc/api/objc/RTCAVFoundationVideoSource.mm
|
| diff --git a/webrtc/api/objc/RTCAVFoundationVideoSource.mm b/webrtc/api/objc/RTCAVFoundationVideoSource.mm
|
| index 868f626949420127c62fc97c0748c5b28fcd948e..0cd015550ca39369f3291158a11fdb2300e2ac48 100644
|
| --- a/webrtc/api/objc/RTCAVFoundationVideoSource.mm
|
| +++ b/webrtc/api/objc/RTCAVFoundationVideoSource.mm
|
| @@ -21,9 +21,9 @@
|
| NSParameterAssert(factory);
|
| rtc::scoped_ptr<webrtc::AVFoundationVideoCapturer> capturer;
|
| capturer.reset(new webrtc::AVFoundationVideoCapturer());
|
| - rtc::scoped_refptr<webrtc::VideoSourceInterface> source =
|
| - factory.nativeFactory->CreateVideoSource(capturer.release(),
|
| - constraints.nativeConstraints.get());
|
| + rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> source =
|
| + factory.nativeFactory->CreateVideoSource(
|
| + capturer.release(), constraints.nativeConstraints.get());
|
| return [super initWithNativeVideoSource:source];
|
| }
|
|
|
|
|