mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +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:
|
private:
|
||||||
// Called from OnFrame in both pass-through and zero-hertz mode.
|
// Called from OnFrame in both pass-through and zero-hertz mode.
|
||||||
void OnFrameOnMainQueue(Timestamp post_time,
|
void OnFrameOnMainQueue(Timestamp post_time,
|
||||||
int frames_scheduled_for_processing,
|
bool queue_overload,
|
||||||
const VideoFrame& frame) RTC_RUN_ON(queue_);
|
const VideoFrame& frame) RTC_RUN_ON(queue_);
|
||||||
|
|
||||||
// Returns true under all of the following conditions:
|
// Returns true under all of the following conditions:
|
||||||
|
@ -719,13 +719,11 @@ void FrameCadenceAdapterImpl::OnConstraintsChanged(
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
void FrameCadenceAdapterImpl::OnFrameOnMainQueue(
|
void FrameCadenceAdapterImpl::OnFrameOnMainQueue(Timestamp post_time,
|
||||||
Timestamp post_time,
|
bool queue_overload,
|
||||||
int frames_scheduled_for_processing,
|
const VideoFrame& frame) {
|
||||||
const VideoFrame& frame) {
|
|
||||||
RTC_DCHECK_RUN_ON(queue_);
|
RTC_DCHECK_RUN_ON(queue_);
|
||||||
current_adapter_mode_->OnFrame(post_time, frames_scheduled_for_processing,
|
current_adapter_mode_->OnFrame(post_time, queue_overload, frame);
|
||||||
frame);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FrameCadenceAdapterImpl::IsZeroHertzScreenshareEnabled() const {
|
bool FrameCadenceAdapterImpl::IsZeroHertzScreenshareEnabled() const {
|
||||||
|
|
Loading…
Reference in a new issue