Production code: Pass codec ID argument to audio codecs
Just a null ID for now, but future CLs will fix that. Bug: webrtc:8941 Change-Id: I393af0fef752ca3711421bdaf4b2e41cbe286bcf Reviewed-on: https://webrtc-review.googlesource.com/58093 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22296}
This commit is contained in:
@ -83,7 +83,7 @@ AudioDecoder* DecoderDatabase::DecoderInfo::GetDecoder() const {
|
||||
// TODO(ossu): Keep a check here for now, since a number of tests create
|
||||
// DecoderInfos without factories.
|
||||
RTC_DCHECK(factory_);
|
||||
decoder_ = factory_->MakeAudioDecoder(audio_format_);
|
||||
decoder_ = factory_->MakeAudioDecoder(audio_format_, rtc::nullopt);
|
||||
}
|
||||
RTC_DCHECK(decoder_) << "Failed to create: " << audio_format_;
|
||||
return decoder_.get();
|
||||
|
Reference in New Issue
Block a user