mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-16 07:10:38 +01:00
AEC3: Ensure that the shadow filter is adapted at each block
This CL ensures that the shadow filter is adapted at each block, which avoids that a temporary filter length mismatch can occur between the main and shadow filters. Bug: webrtc:9602,chromium:872201 Change-Id: I651812b4e3b134c6c5e1fe3df5ab78dbdb5c1fb4 Reviewed-on: https://webrtc-review.googlesource.com/93000 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24253}
This commit is contained in:
parent
b6b1cacd09
commit
45e7281b86
1 changed files with 1 additions and 0 deletions
|
@ -238,6 +238,7 @@ void Subtractor::Process(const RenderBuffer& render_buffer,
|
|||
G.re.fill(0.f);
|
||||
G.im.fill(0.f);
|
||||
poor_shadow_filter_counter_ = 0;
|
||||
shadow_filter_.Adapt(render_buffer, G);
|
||||
shadow_filter_.SetFilter(main_filter_.GetFilter());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue