Delete unused method VideoSender::EnableFrameDropper.
Bug: None
Change-Id: I03558e4c6ed63b52d42a36d89bb4c89f8210e449
Reviewed-on: https://webrtc-review.googlesource.com/c/115418
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26144}
diff --git a/modules/video_coding/video_coding_impl.h b/modules/video_coding/video_coding_impl.h
index daf21d8..e7fb74c 100644
--- a/modules/video_coding/video_coding_impl.h
+++ b/modules/video_coding/video_coding_impl.h
@@ -117,16 +117,10 @@
EncodedImageCallback* const post_encode_callback_;
VCMEncoderDataBase _codecDataBase RTC_GUARDED_BY(encoder_crit_);
- // |frame_dropper_requested_| specifies if the user of this class has
- // requested frame dropping to be enabled, via EnableFrameDropper().
- // Depending on video encoder configuration, this setting may be overridden
- // and the frame dropper be force disabled. If so,
- // |force_disable_frame_dropper_| will be set to true.
- // If frame dropper is requested, and is not force disabled, frame dropping
- // might still be disabled if VideoEncoder::GetEncoderInfo() indicates that
- // the encoder has a trusted rate controller. This is determined on a
- // per-frame basis, as the encoder behavior might dynamically change.
- bool frame_dropper_requested_ RTC_GUARDED_BY(encoder_crit_);
+ // If frame dropper is not force disabled, frame dropping might still be
+ // disabled if VideoEncoder::GetEncoderInfo() indicates that the encoder has a
+ // trusted rate controller. This is determined on a per-frame basis, as the
+ // encoder behavior might dynamically change.
bool force_disable_frame_dropper_ RTC_GUARDED_BY(encoder_crit_);
// Must be accessed on the construction thread of VideoSender.