Remove RTPVideoHeader::h264() accessors.
Bug: none Change-Id: I043bcaf358575688b223bc3631506e148b47fd58 Reviewed-on: https://webrtc-review.googlesource.com/88220 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23971}
This commit is contained in:
@ -55,20 +55,6 @@ struct RTPVideoHeader {
|
||||
|
||||
return absl::get<RTPVideoHeaderVP9>(video_type_header);
|
||||
}
|
||||
// TODO(philipel): Remove when downstream projects have been updated.
|
||||
RTPVideoHeaderH264& h264() {
|
||||
if (!absl::holds_alternative<RTPVideoHeaderH264>(video_type_header))
|
||||
video_type_header.emplace<RTPVideoHeaderH264>();
|
||||
|
||||
return absl::get<RTPVideoHeaderH264>(video_type_header);
|
||||
}
|
||||
// TODO(philipel): Remove when downstream projects have been updated.
|
||||
const RTPVideoHeaderH264& h264() const {
|
||||
if (!absl::holds_alternative<RTPVideoHeaderH264>(video_type_header))
|
||||
video_type_header.emplace<RTPVideoHeaderH264>();
|
||||
|
||||
return absl::get<RTPVideoHeaderH264>(video_type_header);
|
||||
}
|
||||
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
|
||||
Reference in New Issue
Block a user