Cleanup deprecated accessors in VideoFrame
Bug: None Change-Id: I3f8f428f04e86c38d5cf6d481709b7bcdfbd495c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/357781 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42671}
This commit is contained in:
parent
f9ddf7fed6
commit
161956b89d
@ -193,13 +193,9 @@ class RTC_EXPORT VideoFrame {
|
||||
void set_rtp_timestamp(uint32_t rtp_timestamp) {
|
||||
timestamp_rtp_ = rtp_timestamp;
|
||||
}
|
||||
// TODO(https://bugs.webrtc.org/13756): Deprecate and use set_rtp_timestamp.
|
||||
void set_timestamp(uint32_t timestamp) { timestamp_rtp_ = timestamp; }
|
||||
|
||||
// Get frame timestamp (90kHz).
|
||||
uint32_t rtp_timestamp() const { return timestamp_rtp_; }
|
||||
// TODO(https://bugs.webrtc.org/13756): Deprecate and use rtp_timestamp.
|
||||
uint32_t timestamp() const { return timestamp_rtp_; }
|
||||
|
||||
// Set capture ntp time in milliseconds.
|
||||
void set_ntp_time_ms(int64_t ntp_time_ms) { ntp_time_ms_ = ntp_time_ms; }
|
||||
@ -231,14 +227,6 @@ class RTC_EXPORT VideoFrame {
|
||||
render_parameters_ = render_parameters;
|
||||
}
|
||||
|
||||
// Deprecated in favor of render_parameters, will be removed once Chromium is
|
||||
// updated. max_composition_delay_in_frames() is used in an experiment of a
|
||||
// low-latency renderer algorithm see crbug.com/1138888.
|
||||
[[deprecated("Use render_parameters() instead.")]] absl::optional<int32_t>
|
||||
max_composition_delay_in_frames() const {
|
||||
return render_parameters_.max_composition_delay_in_frames;
|
||||
}
|
||||
|
||||
// Get render time in milliseconds.
|
||||
int64_t render_time_ms() const;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user