Rename PlayoutDelay --> VideoPlayoutDelay, move to api/video/video_timing.h
We can then finally delete the top-level common_types.h, and the corresponding build target webrtc_common. Bug: webrtc:7660 Change-Id: I1c1096541477586d90774c7a3405b9d36edec14a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/182800 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32044}
This commit is contained in:
@ -371,7 +371,7 @@ constexpr uint8_t PlayoutDelayLimits::kValueSizeBytes;
|
||||
constexpr const char PlayoutDelayLimits::kUri[];
|
||||
|
||||
bool PlayoutDelayLimits::Parse(rtc::ArrayView<const uint8_t> data,
|
||||
PlayoutDelay* playout_delay) {
|
||||
VideoPlayoutDelay* playout_delay) {
|
||||
RTC_DCHECK(playout_delay);
|
||||
if (data.size() != 3)
|
||||
return false;
|
||||
@ -386,7 +386,7 @@ bool PlayoutDelayLimits::Parse(rtc::ArrayView<const uint8_t> data,
|
||||
}
|
||||
|
||||
bool PlayoutDelayLimits::Write(rtc::ArrayView<uint8_t> data,
|
||||
const PlayoutDelay& playout_delay) {
|
||||
const VideoPlayoutDelay& playout_delay) {
|
||||
RTC_DCHECK_EQ(data.size(), 3);
|
||||
RTC_DCHECK_LE(0, playout_delay.min_ms);
|
||||
RTC_DCHECK_LE(playout_delay.min_ms, playout_delay.max_ms);
|
||||
|
||||
Reference in New Issue
Block a user