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