Document that preferred VideoFrame constructor takes no RTP timestamp.
And update most internal calls to use it. Bug: webrtc:5740, webrtc:9372 Change-Id: Ib57d4ebfa7b0729af6d22981a792f0fdadf8a13f Reviewed-on: https://webrtc-review.googlesource.com/81743 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23567}
This commit is contained in:
@ -66,7 +66,7 @@ class TestMultiplexAdapter : public VideoCodecUnitTest {
|
||||
yuv_buffer->DataV(), yuv_buffer->StrideV(), yuv_buffer->DataY(),
|
||||
yuv_buffer->StrideY(), rtc::KeepRefUntilDone(yuv_buffer));
|
||||
return rtc::WrapUnique<VideoFrame>(
|
||||
new VideoFrame(yuva_buffer, 123 /* timestamp_us */,
|
||||
new VideoFrame(yuva_buffer, 123 /* RTP timestamp */,
|
||||
345 /* render_time_ms */, kVideoRotation_0));
|
||||
}
|
||||
|
||||
@ -79,7 +79,7 @@ class TestMultiplexAdapter : public VideoCodecUnitTest {
|
||||
yuva_buffer->DataV(), yuva_buffer->StrideV(),
|
||||
rtc::KeepRefUntilDone(yuva_frame.video_frame_buffer()));
|
||||
return rtc::WrapUnique<VideoFrame>(
|
||||
new VideoFrame(axx_buffer, 123 /* timestamp_us */,
|
||||
new VideoFrame(axx_buffer, 123 /* RTP timestamp */,
|
||||
345 /* render_time_ms */, kVideoRotation_0));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user