mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Fix parameter types inconsistency in FrameCadanceAdapter
Bug: chromium:1255737 Change-Id: Id448a9176020f7f88eb767036b67ca884bdbd472 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/328520 Reviewed-by: Markus Handell <handellm@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41232}
This commit is contained in:
parent
15c04f98e9
commit
7a841ce116
1 changed files with 5 additions and 7 deletions
|
@ -252,7 +252,7 @@ class FrameCadenceAdapterImpl : public FrameCadenceAdapterInterface {
|
|||
private:
|
||||
// Called from OnFrame in both pass-through and zero-hertz mode.
|
||||
void OnFrameOnMainQueue(Timestamp post_time,
|
||||
int frames_scheduled_for_processing,
|
||||
bool queue_overload,
|
||||
const VideoFrame& frame) RTC_RUN_ON(queue_);
|
||||
|
||||
// Returns true under all of the following conditions:
|
||||
|
@ -719,13 +719,11 @@ void FrameCadenceAdapterImpl::OnConstraintsChanged(
|
|||
}));
|
||||
}
|
||||
|
||||
void FrameCadenceAdapterImpl::OnFrameOnMainQueue(
|
||||
Timestamp post_time,
|
||||
int frames_scheduled_for_processing,
|
||||
const VideoFrame& frame) {
|
||||
void FrameCadenceAdapterImpl::OnFrameOnMainQueue(Timestamp post_time,
|
||||
bool queue_overload,
|
||||
const VideoFrame& frame) {
|
||||
RTC_DCHECK_RUN_ON(queue_);
|
||||
current_adapter_mode_->OnFrame(post_time, frames_scheduled_for_processing,
|
||||
frame);
|
||||
current_adapter_mode_->OnFrame(post_time, queue_overload, frame);
|
||||
}
|
||||
|
||||
bool FrameCadenceAdapterImpl::IsZeroHertzScreenshareEnabled() const {
|
||||
|
|
Loading…
Reference in a new issue