Use Timestamp and TimeDelta in VCMTiming
* Switches TimestampExtrapolator to use Timestamp as well. Bug: webrtc:13589 Change-Id: I042be5d693068553d2e8eb92fa532092d77bd7ef Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/249993 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Evan Shrubsole <eshr@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36112}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
9558ab41eb
commit
d6cdf80072
@ -142,7 +142,7 @@ void VCMDecodedFrameCallback::Decoded(VideoFrame& decodedImage,
|
||||
const TimeDelta decode_time = decode_time_ms
|
||||
? TimeDelta::Millis(*decode_time_ms)
|
||||
: now - *frameInfo->decodeStart;
|
||||
_timing->StopDecodeTimer(decode_time.ms(), now.ms());
|
||||
_timing->StopDecodeTimer(decode_time, now);
|
||||
decodedImage.set_processing_time(
|
||||
{*frameInfo->decodeStart, *frameInfo->decodeStart + decode_time});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user