| Index: webrtc/modules/video_processing/content_analysis.cc
|
| diff --git a/webrtc/modules/video_processing/content_analysis.cc b/webrtc/modules/video_processing/content_analysis.cc
|
| index e8b2af4e73f192f216b6b07820ef672c19c0c7ad..54c04da466820757d108ad1689e79db5fd00134f 100644
|
| --- a/webrtc/modules/video_processing/content_analysis.cc
|
| +++ b/webrtc/modules/video_processing/content_analysis.cc
|
| @@ -60,7 +60,7 @@
|
| return NULL;
|
| }
|
| // Only interested in the Y plane.
|
| - orig_frame_ = inputFrame.video_frame_buffer()->DataY();
|
| + orig_frame_ = inputFrame.buffer(kYPlane);
|
|
|
| // Compute spatial metrics: 3 spatial prediction errors.
|
| (this->*ComputeSpatialMetrics)();
|
|
|