Index: webrtc/media/base/videoframefactory.h |
diff --git a/webrtc/media/base/videoframefactory.h b/webrtc/media/base/videoframefactory.h |
index 6aa2ce51733b0c01ea8d5187ace63865a2d32571..985199f646f12d8285547e8eeadefe8b07ed3890 100644 |
--- a/webrtc/media/base/videoframefactory.h |
+++ b/webrtc/media/base/videoframefactory.h |
@@ -13,6 +13,7 @@ |
#include <memory> |
+#include "webrtc/common_video/include/i420_buffer_pool.h" |
#include "webrtc/media/base/videoframe.h" |
namespace cricket { |
@@ -52,9 +53,9 @@ class VideoFrameFactory { |
bool apply_rotation_; |
private: |
- // An internal frame buffer to avoid reallocations. It is mutable because it |
+ // An internal pool to avoid reallocations. It is mutable because it |
// does not affect behaviour, only performance. |
- mutable std::unique_ptr<VideoFrame> output_frame_; |
+ mutable webrtc::I420BufferPool pool_; |
}; |
} // namespace cricket |