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:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user