| Index: talk/app/webrtc/objc/RTCI420Frame.mm
|
| diff --git a/talk/app/webrtc/objc/RTCI420Frame.mm b/talk/app/webrtc/objc/RTCI420Frame.mm
|
| index d8be8ceed14e1aa85b2ca9e95e44ba00b0bea66f..c7eda19cf4fcc14231a6ecd37eb78b363aef4d25 100644
|
| --- a/talk/app/webrtc/objc/RTCI420Frame.mm
|
| +++ b/talk/app/webrtc/objc/RTCI420Frame.mm
|
| @@ -36,23 +36,19 @@
|
| }
|
|
|
| - (NSUInteger)width {
|
| - return _videoFrame->GetWidth();
|
| + return _videoFrame->width();
|
| }
|
|
|
| - (NSUInteger)height {
|
| - return _videoFrame->GetHeight();
|
| + return _videoFrame->height();
|
| }
|
|
|
| - (NSUInteger)chromaWidth {
|
| - return _videoFrame->GetChromaWidth();
|
| + return (self.width + 1) / 2;
|
| }
|
|
|
| - (NSUInteger)chromaHeight {
|
| - return _videoFrame->GetChromaHeight();
|
| -}
|
| -
|
| -- (NSUInteger)chromaSize {
|
| - return _videoFrame->GetChromaSize();
|
| + return (self.height + 1) / 2;
|
| }
|
|
|
| - (const uint8_t*)yPlane {
|
|
|