Remove video_coding dependency on ProcessThread and Module

Bug: webrtc:7219
Change-Id: I360f7df5554389274fcaef64070b9441ce0ef984
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/266486
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37351}
This commit is contained in:
Danil Chapovalov
2022-06-22 15:48:36 +02:00
committed by WebRTC LUCI CQ
parent e58f1991dc
commit ce80886bf2
5 changed files with 10 additions and 49 deletions

View File

@ -51,13 +51,7 @@ class VideoCodingModuleImpl : public VideoCodingModule {
timing_(new VCMTiming(clock, *field_trials_)),
receiver_(clock, timing_.get(), *field_trials_) {}
~VideoCodingModuleImpl() override {}
int64_t TimeUntilNextProcess() override {
int64_t receiver_time = receiver_.TimeUntilNextProcess();
RTC_DCHECK_GE(receiver_time, 0);
return receiver_time;
}
~VideoCodingModuleImpl() override = default;
void Process() override { receiver_.Process(); }