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:
@ -149,5 +149,14 @@ TEST(TestConfig, ToString_Vp8) {
|
||||
config.ToString());
|
||||
}
|
||||
|
||||
TEST(TestConfig, FilenameWithParams) {
|
||||
TestConfig config;
|
||||
config.filename = "filename";
|
||||
webrtc::test::CodecSettings(kVideoCodecVP8, &config.codec_settings);
|
||||
config.hw_encoder = true;
|
||||
config.codec_settings.startBitrate = 400;
|
||||
EXPECT_EQ("filename_VP8_hw_400", config.FilenameWithParams());
|
||||
}
|
||||
|
||||
} // namespace test
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user