| Index: webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc
|
| diff --git a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc
|
| index 32472750f5f0fc21df8512431ece44af806377d7..6026cb31d2b0c29972bcf897854755dfabd1396a 100644
|
| --- a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc
|
| +++ b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc
|
| @@ -451,10 +451,6 @@ bool SimulcastEncoderAdapter::Initialized() const {
|
| return !streaminfos_.empty();
|
| }
|
|
|
| -void SimulcastEncoderAdapter::OnDroppedFrame() {
|
| - streaminfos_[0].encoder->OnDroppedFrame();
|
| -}
|
| -
|
| bool SimulcastEncoderAdapter::SupportsNativeHandle() const {
|
| // We should not be calling this method before streaminfos_ are configured.
|
| RTC_DCHECK(!streaminfos_.empty());
|
| @@ -465,6 +461,14 @@ bool SimulcastEncoderAdapter::SupportsNativeHandle() const {
|
| return true;
|
| }
|
|
|
| +VideoEncoder::ScalingSettings SimulcastEncoderAdapter::GetScalingSettings()
|
| + const {
|
| + // Turn off quality scaling for simulcast.
|
| + if (NumberOfStreams(codec_) != 1)
|
| + return VideoEncoder::ScalingSettings(false);
|
| + return streaminfos_[0].encoder->GetScalingSettings();
|
| +}
|
| +
|
| const char* SimulcastEncoderAdapter::ImplementationName() const {
|
| return implementation_name_.c_str();
|
| }
|
|
|