| Index: webrtc/video/vie_encoder.h
|
| diff --git a/webrtc/video/vie_encoder.h b/webrtc/video/vie_encoder.h
|
| index 621cf0b0201271b6dad70096af9a5fe3e41c5613..6698b9465cf79a943d88c9e3a87951aaa56b41f3 100644
|
| --- a/webrtc/video/vie_encoder.h
|
| +++ b/webrtc/video/vie_encoder.h
|
| @@ -56,11 +56,16 @@ class ViEEncoder : public VideoEncoderRateObserver,
|
| friend class ViEBitrateObserver;
|
|
|
| ViEEncoder(uint32_t number_of_cores,
|
| - ProcessThread* module_process_thread,
|
| SendStatisticsProxy* stats_proxy,
|
| OveruseFrameDetector* overuse_detector,
|
| EncodedImageCallback* sink);
|
| ~ViEEncoder();
|
| + // RegisterProcessThread register |module_process_thread| with those objects
|
| + // that use it. Registration have to happen on the thread where
|
| + // |module_process_thread| where created (libjingles worker thread).
|
| + // TODO(perkj): Replace the use of |module_process_thread| with a TaskQueue.
|
| + void RegisterProcessThread(ProcessThread* module_process_thread);
|
| + void DeRegisterProcessThread();
|
|
|
| vcm::VideoSender* video_sender();
|
|
|
| @@ -128,10 +133,6 @@ class ViEEncoder : public VideoEncoderRateObserver,
|
| SendStatisticsProxy* const stats_proxy_;
|
| OveruseFrameDetector* const overuse_detector_;
|
|
|
| - // The time we last received an input frame or encoded frame. This is used to
|
| - // track when video is stopped long enough that we also want to stop sending
|
| - // padding.
|
| - int64_t time_of_last_frame_activity_ms_ GUARDED_BY(data_cs_);
|
| VideoCodec encoder_config_ GUARDED_BY(data_cs_);
|
| uint32_t last_observed_bitrate_bps_ GUARDED_BY(data_cs_);
|
| bool encoder_paused_ GUARDED_BY(data_cs_);
|
|
|