Remove support for SW H264 High profile decoding
Also put Baseline profile in front of Constrained Baseline profile. The reason is that the HW encoders are mostly BP, and we want this to be the first codec in the list so that HW is preferred by default. The H264 tests in chromium needs to be updated again with this change, which was changed here: https://codereview.chromium.org/2985263002/. Bug: webrtc:8317 Change-Id: Ief75683962b79b6664143d73b9259729c66ce082 Reviewed-on: https://webrtc-review.googlesource.com/17780 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20554}
This commit is contained in:

committed by
Commit Bot

parent
874d9a57fc
commit
a750333372
@ -66,9 +66,8 @@ std::vector<SdpVideoFormat> SupportedH264Codecs() {
|
||||
// decoder for that profile is required to be able to decode CBP. This means
|
||||
// we can encode and send CBP even though we negotiated a potentially
|
||||
// higher profile. See the H264 spec for more information.
|
||||
return {CreateH264Format(H264::kProfileHigh, H264::kLevel3_1),
|
||||
CreateH264Format(H264::kProfileConstrainedBaseline, H264::kLevel3_1),
|
||||
CreateH264Format(H264::kProfileBaseline, H264::kLevel3_1)};
|
||||
return {CreateH264Format(H264::kProfileBaseline, H264::kLevel3_1),
|
||||
CreateH264Format(H264::kProfileConstrainedBaseline, H264::kLevel3_1)};
|
||||
}
|
||||
|
||||
H264Encoder* H264Encoder::Create(const cricket::VideoCodec& codec) {
|
||||
|
Reference in New Issue
Block a user