Remove kVideoCodecUnknown completely.

Followup to cl https://webrtc-review.googlesource.com/92086

Bug: webrtc:8136
Change-Id: I077d18ac6def475d05424ff0c5e545c939cd8e61
Reviewed-on: https://webrtc-review.googlesource.com/95642
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24475}
This commit is contained in:
Kári Tristan Helgason
2018-08-27 15:04:07 +02:00
committed by Commit Bot
parent f7f8a1f176
commit 55e7785686
2 changed files with 1 additions and 3 deletions

View File

@ -340,8 +340,6 @@ enum VideoCodecType {
kVideoCodecH264,
kVideoCodecI420,
kVideoCodecMultiplex,
// DEPRECATED. Do not use.
kVideoCodecUnknown,
};
// Translates from name of codec to codec type and vice versa.

View File

@ -65,7 +65,7 @@ struct RTPVideoHeader {
VideoContentType content_type = VideoContentType::UNSPECIFIED;
bool is_first_packet_in_frame = false;
uint8_t simulcastIdx = 0;
VideoCodecType codec = VideoCodecType::kVideoCodecUnknown;
VideoCodecType codec = VideoCodecType::kVideoCodecGeneric;
PlayoutDelay playout_delay;
VideoSendTiming video_timing;