Index: webrtc/media/base/videocapturer.cc |
diff --git a/webrtc/media/base/videocapturer.cc b/webrtc/media/base/videocapturer.cc |
index ced48a575e4b30fa98253dc0cbfb9524eaacf540..7810a48d4dbdf664e8a737125cf95bc623370272 100644 |
--- a/webrtc/media/base/videocapturer.cc |
+++ b/webrtc/media/base/videocapturer.cc |
@@ -14,9 +14,10 @@ |
#include <algorithm> |
+#include "webrtc/api/video/i420_buffer.h" |
+#include "webrtc/api/video/video_frame.h" |
#include "webrtc/base/common.h" |
#include "webrtc/base/logging.h" |
-#include "webrtc/video_frame.h" |
namespace cricket { |
@@ -214,7 +215,7 @@ void VideoCapturer::OnFrame(const webrtc::VideoFrame& frame, |
return; |
} |
broadcaster_.OnFrame(webrtc::VideoFrame( |
- webrtc::I420Buffer::Rotate(buffer, frame.rotation()), |
+ webrtc::I420Buffer::Rotate(*buffer, frame.rotation()), |
webrtc::kVideoRotation_0, frame.timestamp_us())); |
} else { |
broadcaster_.OnFrame(frame); |