WebRTC-DeprecateGlobalFieldTrialString/Enabled/ - part 10/inf
This patch takes a stab at modules/video_coding, but reaches only about half. Bug: webrtc:10335 Change-Id: I0d47d0468b818145470c51ae4e8e75ff58d499ae Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256112 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Jonas Oreland <jonaso@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36335}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
2ff465f506
commit
e02f9eedb3
@ -24,6 +24,7 @@
|
||||
#include "test/fake_decoder.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "test/scoped_key_value_config.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace video_coding {
|
||||
@ -66,10 +67,10 @@ class GenericDecoderTest : public ::testing::Test {
|
||||
protected:
|
||||
GenericDecoderTest()
|
||||
: clock_(0),
|
||||
timing_(&clock_),
|
||||
timing_(&clock_, field_trials_),
|
||||
task_queue_factory_(CreateDefaultTaskQueueFactory()),
|
||||
decoder_(task_queue_factory_.get()),
|
||||
vcm_callback_(&timing_, &clock_),
|
||||
vcm_callback_(&timing_, &clock_, field_trials_),
|
||||
generic_decoder_(&decoder_) {}
|
||||
|
||||
void SetUp() override {
|
||||
@ -82,6 +83,7 @@ class GenericDecoderTest : public ::testing::Test {
|
||||
generic_decoder_.Configure(settings);
|
||||
}
|
||||
|
||||
test::ScopedKeyValueConfig field_trials_;
|
||||
SimulatedClock clock_;
|
||||
VCMTiming timing_;
|
||||
std::unique_ptr<TaskQueueFactory> task_queue_factory_;
|
||||
|
Reference in New Issue
Block a user