Update H264EncoderImpl to use EncodedImage::Allocate

Bug: webrtc:9378
Change-Id: I0d60f8a0a1415a6be09dc1c4c2b0535ccdd6fcd1
Reviewed-on: https://webrtc-review.googlesource.com/c/122086
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26650}
This commit is contained in:
Niels Möller
2019-02-11 09:04:15 +01:00
committed by Commit Bot
parent d3666b2d98
commit eb81b47123
2 changed files with 3 additions and 11 deletions

View File

@ -90,7 +90,6 @@ class H264EncoderImpl : public H264Encoder {
std::vector<rtc::scoped_refptr<I420Buffer>> downscaled_buffers_;
std::vector<LayerConfig> configurations_;
std::vector<EncodedImage> encoded_images_;
std::vector<std::unique_ptr<uint8_t[]>> encoded_image_buffers_;
VideoCodec codec_;
H264PacketizationMode packetization_mode_;