| Index: webrtc/media/engine/webrtcvideoengine2.cc
|
| diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc
|
| index f09b2541d95d81c8e5ce566b33a6f6c0bf36e69c..e5d11bc47a21c9b77fcf522d3743d0b61ba75e95 100644
|
| --- a/webrtc/media/engine/webrtcvideoengine2.cc
|
| +++ b/webrtc/media/engine/webrtcvideoengine2.cc
|
| @@ -571,7 +571,7 @@ static rtc::Optional<int> NextFreePayloadType(
|
| // This is a helper function for GetSupportedCodecs below. It will append new
|
| // unique codecs from |input_codecs| to |unified_codecs|. It will add default
|
| // feedback params to the codecs and will also add an associated RTX codec for
|
| -// recognized codecs (VP8, VP9, H264, and Red).
|
| +// recognized codecs (VP8, VP9, H264, and RED).
|
| static void AppendVideoCodecs(const std::vector<VideoCodec>& input_codecs,
|
| std::vector<VideoCodec>* unified_codecs) {
|
| for (VideoCodec codec : input_codecs) {
|
| @@ -582,7 +582,8 @@ static void AppendVideoCodecs(const std::vector<VideoCodec>& input_codecs,
|
| codec.id = *payload_type;
|
| // TODO(magjed): Move the responsibility of setting these parameters to the
|
| // encoder factories instead.
|
| - if (codec.name != kRedCodecName && codec.name != kUlpfecCodecName)
|
| + if (codec.name != kRedCodecName && codec.name != kUlpfecCodecName &&
|
| + codec.name != kFlexfecCodecName)
|
| AddDefaultFeedbackParams(&codec);
|
| // Don't add same codec twice.
|
| if (FindMatchingCodec(*unified_codecs, codec))
|
|
|