| Index: webrtc/api/objc/RTCEAGLVideoView.m
|
| diff --git a/webrtc/api/objc/RTCEAGLVideoView.m b/webrtc/api/objc/RTCEAGLVideoView.m
|
| index e664ede455492c339180c406eeeb9ff90b06d831..58fd108c4c1e04b1a32d9be55c23ffdc72b2af77 100644
|
| --- a/webrtc/api/objc/RTCEAGLVideoView.m
|
| +++ b/webrtc/api/objc/RTCEAGLVideoView.m
|
| @@ -8,12 +8,12 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#import "RTCEAGLVideoView.h"
|
| +#import "webrtc/api/objc/RTCEAGLVideoView.h"
|
|
|
| #import <GLKit/GLKit.h>
|
|
|
| -#import "RTCVideoFrame.h"
|
| -#import "RTCOpenGLVideoRenderer.h"
|
| +#import "webrtc/api/objc/RTCOpenGLVideoRenderer.h"
|
| +#import "webrtc/api/objc/RTCVideoFrame.h"
|
|
|
| // RTCDisplayLinkTimer wraps a CADisplayLink and is set to fire every two screen
|
| // refreshes, which should be 30fps. We wrap the display link in order to avoid
|
| @@ -210,6 +210,10 @@
|
| }
|
|
|
| - (void)renderFrame:(RTCVideoFrame *)frame {
|
| + // Generate the i420 frame on video send thread instead of main thread.
|
| + // TODO(tkchin): Remove this once RTCEAGLVideoView supports uploading
|
| + // CVPixelBuffer textures.
|
| + [frame convertBufferIfNeeded];
|
| self.videoFrame = frame;
|
| }
|
|
|
|
|