| Index: webrtc/video/video_quality_test.cc
|
| diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc
|
| index 488532d93daed86e8269c52f1c0ba554fe3abe1d..0a63b25bc60aa2e6ccf099ee90a0f944d6c98e6f 100644
|
| --- a/webrtc/video/video_quality_test.cc
|
| +++ b/webrtc/video/video_quality_test.cc
|
| @@ -35,6 +35,7 @@ namespace webrtc {
|
| static const int kTransportSeqExtensionId =
|
| VideoQualityTest::kAbsSendTimeExtensionId + 1;
|
| static const int kSendStatsPollingIntervalMs = 1000;
|
| +static const int kPayloadTypeH264 = 122;
|
| static const int kPayloadTypeVP8 = 123;
|
| static const int kPayloadTypeVP9 = 124;
|
|
|
| @@ -582,7 +583,10 @@ void VideoQualityTest::SetupFullStack(const Params& params,
|
| CreateSendConfig(1, 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") {
|
|
|