Inform FrameBufferController of encoder capabilities

Bug: webrtc:10720
Change-Id: I958b83e29e8e87252e08419b8e16d554983a1a63
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/140941
Commit-Queue: Elad Alon <eladalon@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28242}
This commit is contained in:
Elad Alon
2019-06-07 23:10:00 +02:00
committed by Commit Bot
parent 00e71ef49e
commit a27958421c
7 changed files with 23 additions and 8 deletions

View File

@ -726,7 +726,7 @@ class VideoStreamEncoderTest : public ::testing::Test {
// Simulate setting up temporal layers, in order to validate the life
// cycle of these objects.
Vp8TemporalLayersFactory factory;
frame_buffer_controller_ = factory.Create(*config);
frame_buffer_controller_ = factory.Create(*config, settings);
}
if (force_init_encode_failed_) {
initialized_ = EncoderState::kInitializationFailed;