Index: webrtc/media/base/videocapturer.h |
diff --git a/webrtc/media/base/videocapturer.h b/webrtc/media/base/videocapturer.h |
index ac2bee2b3092b85534dfd0dc2416cbfd12df5f7a..62d1197ac0b5099421e3fd5b5b0eb58a7659a6f0 100644 |
--- a/webrtc/media/base/videocapturer.h |
+++ b/webrtc/media/base/videocapturer.h |
@@ -218,10 +218,6 @@ class VideoCapturer : public sigslot::has_slots<>, |
// Takes ownership. |
void set_frame_factory(VideoFrameFactory* frame_factory); |
- // TODO(nisse): Rename function? Or pass the frame format before |
- // adaptation in some other way. |
- void GetStats(VideoFormat* last_captured_frame_format); |
- |
// Implements VideoSourceInterface |
void AddOrUpdateSink(rtc::VideoSinkInterface<cricket::VideoFrame>* sink, |
const rtc::VideoSinkWants& wants) override; |
@@ -289,8 +285,6 @@ class VideoCapturer : public sigslot::has_slots<>, |
// Returns true if format doesn't fulfill all applied restrictions. |
bool ShouldFilterFormat(const VideoFormat& format) const; |
- void UpdateStats(const CapturedFrame* captured_frame); |
- |
rtc::ThreadChecker thread_checker_; |
std::string id_; |
CaptureState capture_state_; |
@@ -311,11 +305,6 @@ class VideoCapturer : public sigslot::has_slots<>, |
bool enable_video_adapter_; |
CoordinatedVideoAdapter video_adapter_; |
- rtc::CriticalSection frame_stats_crit_; |
- |
- // The captured frame format before potential adapation. |
- VideoFormat last_captured_frame_format_; |
- |
// Whether capturer should apply rotation to the frame before signaling it. |
bool apply_rotation_; |