Remove |hw_encoder| and |hw_decoder| from VideoCodecTestFixture::Config.

Only used for output filename nowadays. Previously, it was used for
selecting the codec implementation. That is now done by injecting
the appropriate codec factory.

Bug: webrtc:9317
Change-Id: Ia2bf28f7df165fb65410ecd1f5d646ee6604e1be
Reviewed-on: https://webrtc-review.googlesource.com/c/106023
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25204}
This commit is contained in:
Rasmus Brandt
2018-10-16 09:14:04 +02:00
committed by Commit Bot
parent f907c49722
commit 2d0c68744c
7 changed files with 7 additions and 26 deletions

View File

@ -33,8 +33,6 @@ VideoCodecTestFixture::Config CreateConfig() {
config.filename = "foreman_cif";
config.filepath = ResourcePath(config.filename, "yuv");
config.num_frames = kForemanNumFrames;
config.hw_encoder = true;
config.hw_decoder = true;
// In order to not overwhelm the OpenMAX buffers in the Android MediaCodec.
config.encode_in_real_time = true;
return config;