Remove extra_options from VideoCodec.
Constructing default options is racy when initializing multiple VP8 encoders in parallel. This is only used for VP8 temporal layers. Adding TemporalLayerFactory to VP8 codec specifics instead of generic options. Removes the last webrtc::Config uses/includes from video code. Also removes VideoCodec equality operators which are no longer in use. BUG=webrtc:5410 R=stefan@webrtc.org TBR=mflodman@webrtc.org Review URL: https://codereview.webrtc.org/1606613003 . Cr-Commit-Position: refs/heads/master@{#11307}
This commit is contained in:
@ -328,8 +328,7 @@ bool VCMCodecDataBase::RequiresEncoderReset(const VideoCodec& new_send_codec) {
|
||||
new_send_codec.qpMax != send_codec_.qpMax ||
|
||||
new_send_codec.numberOfSimulcastStreams !=
|
||||
send_codec_.numberOfSimulcastStreams ||
|
||||
new_send_codec.mode != send_codec_.mode ||
|
||||
new_send_codec.extra_options != send_codec_.extra_options) {
|
||||
new_send_codec.mode != send_codec_.mode) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user