Remove RTPVideoHeader::vp9() accessors.
TBR=stefan@webrtc.org Bug: none Change-Id: Ia2f728ea3377754a16a0b081e25c4479fe211b3e Reviewed-on: https://webrtc-review.googlesource.com/93024 Commit-Queue: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24243}
This commit is contained in:
@ -44,20 +44,6 @@ struct RTPVideoHeader {
|
||||
|
||||
return absl::get<RTPVideoHeaderVP8>(video_type_header);
|
||||
}
|
||||
// TODO(philipel): Remove when downstream projects have been updated.
|
||||
RTPVideoHeaderVP9& vp9() {
|
||||
if (!absl::holds_alternative<RTPVideoHeaderVP9>(video_type_header))
|
||||
video_type_header.emplace<RTPVideoHeaderVP9>();
|
||||
|
||||
return absl::get<RTPVideoHeaderVP9>(video_type_header);
|
||||
}
|
||||
// TODO(philipel): Remove when downstream projects have been updated.
|
||||
const RTPVideoHeaderVP9& vp9() const {
|
||||
if (!absl::holds_alternative<RTPVideoHeaderVP9>(video_type_header))
|
||||
video_type_header.emplace<RTPVideoHeaderVP9>();
|
||||
|
||||
return absl::get<RTPVideoHeaderVP9>(video_type_header);
|
||||
}
|
||||
|
||||
// Information for generic codec descriptor.
|
||||
int64_t frame_id = 0;
|
||||
|
||||
Reference in New Issue
Block a user