Make the bitrate_allocator param optional to prepare for its removal

in https://webrtc-review.googlesource.com/109040

Bug: webrtc:9513
Change-Id: I676e5e0242f068b12764a52bf8b6a6865ea7f120
Reviewed-on: https://webrtc-review.googlesource.com/c/110142
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25558}
This commit is contained in:
Oleh Prypin
2018-11-08 12:01:17 +01:00
committed by Commit Bot
parent cd2e105128
commit 2a74263e3f
2 changed files with 4 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class VideoCodecInitializer {
const VideoEncoderConfig& config,
const std::vector<VideoStream>& streams,
VideoCodec* codec,
std::unique_ptr<VideoBitrateAllocator>* bitrate_allocator);
std::unique_ptr<VideoBitrateAllocator>* bitrate_allocator = nullptr);
// Create a bitrate allocator for the specified codec.
static std::unique_ptr<VideoBitrateAllocator> CreateBitrateAllocator(