| Index: webrtc/video/video_quality_test.cc
|
| diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc
|
| index 6e8c9902c65df7b072ce256c52093205f8439f42..5a8c4db731008d26963027619888212e6957d5fb 100644
|
| --- a/webrtc/video/video_quality_test.cc
|
| +++ b/webrtc/video/video_quality_test.cc
|
| @@ -37,6 +37,7 @@
|
| namespace webrtc {
|
|
|
| static const int kSendStatsPollingIntervalMs = 1000;
|
| +static const int kPayloadTypeH264 = 122;
|
| static const int kPayloadTypeVP8 = 123;
|
| static const int kPayloadTypeVP9 = 124;
|
|
|
| @@ -780,7 +781,10 @@ void VideoQualityTest::SetupCommon(Transport* send_transport,
|
| CreateSendConfig(num_streams, 0, send_transport);
|
|
|
| int payload_type;
|
| - if (params_.common.codec == "VP8") {
|
| + if (params_.common.codec == "H264") {
|
| + encoder_.reset(VideoEncoder::Create(VideoEncoder::kH264));
|
| + payload_type = kPayloadTypeH264;
|
| + } else if (params_.common.codec == "VP8") {
|
| encoder_.reset(VideoEncoder::Create(VideoEncoder::kVp8));
|
| payload_type = kPayloadTypeVP8;
|
| } else if (params_.common.codec == "VP9") {
|
|
|