| Index: talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
|
| diff --git a/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h b/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
|
| index fcc8f1f2c0a256ecfab27b5d8cce4adc1019da89..a73e26863c9d672875e0424bf9c6acb673fa876e 100644
|
| --- a/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
|
| +++ b/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
|
| @@ -36,7 +36,13 @@
|
| // that capturer because cricket::VideoCapturer is not ref counted and we cannot
|
| // guarantee its lifetime. Instead, we expose its properties through the ref
|
| // counted video source interface.
|
| -@interface RTCAVFoundationVideoSource : RTCVideoSource
|
| +@interface RTCAVFoundationVideoSource : RTCVideoSource {
|
| + // TODO(nisse): This is a crude hack, the pointer really is a
|
| + // webrtc::AVFoundationVideoCapturer*, but using a proper
|
| + // declaration with namespaces breaks inclusion from .m files, i.e.
|
| + // files which are Objective-C but not Objective-C++.
|
| + void *_capturer;
|
| +}
|
|
|
| - (instancetype)initWithFactory:(RTCPeerConnectionFactory*)factory
|
| constraints:(RTCMediaConstraints*)constraints;
|
|
|