Switching to I420VideoFrame
Review URL: https://webrtc-codereview.appspot.com/922004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2983 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/utility/source/frame_scaler.h b/webrtc/modules/utility/source/frame_scaler.h
index f86a933..4b2deae 100644
--- a/webrtc/modules/utility/source/frame_scaler.h
+++ b/webrtc/modules/utility/source/frame_scaler.h
@@ -15,6 +15,7 @@
#ifdef WEBRTC_MODULE_UTILITY_VIDEO
+#include "common_video/interface/i420_video_frame.h"
#include "engine_configurations.h"
#include "modules/interface/module_common_types.h"
#include "system_wrappers/interface/scoped_ptr.h"
@@ -31,13 +32,13 @@
// Re-sizes |video_frame| so that it has the width |out_width| and height
// |out_height|.
- int ResizeFrameIfNeeded(VideoFrame* video_frame,
- WebRtc_UWord32 out_width,
- WebRtc_UWord32 out_height);
+ int ResizeFrameIfNeeded(I420VideoFrame* video_frame,
+ int out_width,
+ int out_height);
private:
scoped_ptr<Scaler> scaler_;
- VideoFrame scaled_frame_;
+ I420VideoFrame scaled_frame_;
};
} // namespace webrtc