Move all calls after SetEncoder into SetEncoder.
Intended to make SetEncoder callable from another thread so that
ReconfigureVideoEncoder can post SetEncoder over and return earlier to
prevent blocking the calling thread.
BUG=webrtc:5494
R=stefan@webrtc.org
Review URL: https://codereview.webrtc.org/1751363003 .
Cr-Original-Commit-Position: refs/heads/master@{#11856}
Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc
Cr-Mirrored-Commit: a03785e924e5b1098a20cdd02fd8001ac4092e8f
3 files changed