Remove use of SetEncodingDataInternal in MediaOptimization.

Add method FilenameWithParams to TestConfig.

Bug: none
Change-Id: I9f683e661537148dc01bee25f7510938fa656dc5
Reviewed-on: https://webrtc-review.googlesource.com/21382
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20651}
This commit is contained in:
Åsa Persson
2017-11-13 10:24:22 +01:00
committed by Commit Bot
parent 4fe6adc06a
commit eb4500701b
6 changed files with 24 additions and 29 deletions

View File

@ -193,5 +193,11 @@ std::string TestConfig::CodecName() const {
return codec_name;
}
std::string TestConfig::FilenameWithParams() const {
std::string implementation_type = hw_encoder ? "hw" : "sw";
return filename + "_" + CodecName() + "_" + implementation_type + "_" +
std::to_string(codec_settings.startBitrate);
}
} // namespace test
} // namespace webrtc