| Index: webrtc/video/vie_encoder.cc
|
| diff --git a/webrtc/video/vie_encoder.cc b/webrtc/video/vie_encoder.cc
|
| index 19e8df18440835a4055511996b5eb1a60f923bfc..728d37b64195658051874846d6293d6034205baf 100644
|
| --- a/webrtc/video/vie_encoder.cc
|
| +++ b/webrtc/video/vie_encoder.cc
|
| @@ -279,10 +279,6 @@ ViEEncoder::ViEEncoder(uint32_t number_of_cores,
|
| nack_enabled_(false),
|
| last_observed_bitrate_bps_(0),
|
| encoder_paused_and_dropped_frame_(false),
|
| - has_received_sli_(false),
|
| - picture_id_sli_(0),
|
| - has_received_rpsi_(false),
|
| - picture_id_rpsi_(0),
|
| clock_(Clock::GetRealTimeClock()),
|
| scale_counter_(kScaleReasonSize, 0),
|
| degradation_preference_(DegradationPreference::kMaintainResolution),
|
| @@ -664,28 +660,6 @@ void ViEEncoder::SendStatistics(uint32_t bit_rate, uint32_t frame_rate) {
|
| stats_proxy_->OnEncoderStatsUpdate(frame_rate, bit_rate);
|
| }
|
|
|
| -// TODO(nisse): Delete.
|
| -void ViEEncoder::OnReceivedSLI(uint8_t picture_id) {
|
| - if (!encoder_queue_.IsCurrent()) {
|
| - encoder_queue_.PostTask([this, picture_id] { OnReceivedSLI(picture_id); });
|
| - return;
|
| - }
|
| - RTC_DCHECK_RUN_ON(&encoder_queue_);
|
| - picture_id_sli_ = picture_id;
|
| - has_received_sli_ = true;
|
| -}
|
| -
|
| -// TODO(nisse): Delete.
|
| -void ViEEncoder::OnReceivedRPSI(uint64_t picture_id) {
|
| - if (!encoder_queue_.IsCurrent()) {
|
| - encoder_queue_.PostTask([this, picture_id] { OnReceivedRPSI(picture_id); });
|
| - return;
|
| - }
|
| - RTC_DCHECK_RUN_ON(&encoder_queue_);
|
| - picture_id_rpsi_ = picture_id;
|
| - has_received_rpsi_ = true;
|
| -}
|
| -
|
| void ViEEncoder::OnReceivedIntraFrameRequest(size_t stream_index) {
|
| if (!encoder_queue_.IsCurrent()) {
|
| encoder_queue_.PostTask(
|
|
|