Delete VideoFrame::set_render_time_ms.

Also mark the render_time_ms getter function and the ntp timestamp
as deprecated.

BUG=webrtc:6977

Review-Url: https://codereview.webrtc.org/2633493002
Cr-Commit-Position: refs/heads/master@{#16354}
This commit is contained in:
nisse
2017-01-30 02:43:18 -08:00
committed by Commit bot
parent a26330ac6f
commit 1c0dea8675
7 changed files with 23 additions and 22 deletions

View File

@ -74,7 +74,8 @@ int32_t VCMDecodedFrameCallback::Decoded(VideoFrame& decodedImage,
_timing->StopDecodeTimer(decodedImage.timestamp(), decode_time_ms, now_ms,
frameInfo->renderTimeMs);
decodedImage.set_render_time_ms(frameInfo->renderTimeMs);
decodedImage.set_timestamp_us(
frameInfo->renderTimeMs * rtc::kNumMicrosecsPerMillisec);
decodedImage.set_rotation(frameInfo->rotation);
// TODO(sakal): Investigate why callback is NULL sometimes and replace if
// statement with a DCHECK.