Index: webrtc/api/androidvideotracksource.h |
diff --git a/webrtc/api/androidvideotracksource.h b/webrtc/api/androidvideotracksource.h |
index 2bbecc82c9480a8d752a62b0663f95192cfdda71..1b2c4b2ce83529dc2208fd257e4bb4151a9ba010 100644 |
--- a/webrtc/api/androidvideotracksource.h |
+++ b/webrtc/api/androidvideotracksource.h |
@@ -20,10 +20,10 @@ |
#include "webrtc/base/thread_checker.h" |
#include "webrtc/base/timestampaligner.h" |
#include "webrtc/common_video/include/i420_buffer_pool.h" |
+#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
#include "webrtc/media/base/videoadapter.h" |
#include "webrtc/media/base/videobroadcaster.h" |
#include "webrtc/media/base/videosinkinterface.h" |
-#include "third_party/libyuv/include/libyuv/convert.h" |
namespace webrtc { |
@@ -92,8 +92,8 @@ class AndroidVideoTrackSource : public Notifier<VideoTrackSourceInterface> { |
cricket::VideoAdapter video_adapter_; |
rtc::CriticalSection apply_rotation_crit_; |
bool apply_rotation_ GUARDED_BY(apply_rotation_crit_); |
- webrtc::I420BufferPool pre_scale_pool_; |
- webrtc::I420BufferPool post_scale_pool_; |
+ webrtc::NV12ToI420Scaler nv12toi420_scaler_; |
+ webrtc::I420BufferPool buffer_pool_; |
rtc::scoped_refptr<webrtc_jni::SurfaceTextureHelper> surface_texture_helper_; |
const bool is_screencast_; |