Add Profile 2 to default supported profiles

Bug: webrtc:9376
Change-Id: I7e7dba97bf4e94d24709c71a3131836538fc2229
Reviewed-on: https://webrtc-review.googlesource.com/88085
Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org>
Commit-Queue: Emircan Uysaler <emircan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23918}
This commit is contained in:
Emircan Uysaler
2018-07-10 17:18:36 -07:00
committed by Commit Bot
parent fc9c4e88b5
commit 0894214f48

View File

@ -55,8 +55,11 @@ int GetCpuSpeed(int width, int height) {
std::vector<SdpVideoFormat> SupportedVP9Codecs() {
return {SdpVideoFormat(
cricket::kVp9CodecName,
{{kVP9FmtpProfileId, VP9ProfileToString(VP9Profile::kProfile0)}})};
cricket::kVp9CodecName,
{{kVP9FmtpProfileId, VP9ProfileToString(VP9Profile::kProfile0)}}),
SdpVideoFormat(cricket::kVp9CodecName,
{{kVP9FmtpProfileId,
VP9ProfileToString(VP9Profile::kProfile2)}})};
}
std::unique_ptr<VP9Encoder> VP9Encoder::Create() {