Delete DecodedImageCallback::ReceivedDecodedFrame
This was a companion method to ReceivedDecodedReferenceFrame, deleted in https://webrtc-review.googlesource.com/c/src/+/133348. Tbr: kwiberg@webrtc.org # Mock class update Bug: webrtc:7408 Change-Id: I429f5f5c18f14c27136e82860297107a82c81d13 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/133571 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27754}
This commit is contained in:
@ -25,10 +25,7 @@ namespace webrtc {
|
||||
|
||||
VCMDecodedFrameCallback::VCMDecodedFrameCallback(VCMTiming* timing,
|
||||
Clock* clock)
|
||||
: _clock(clock),
|
||||
_timing(timing),
|
||||
_timestampMap(kDecoderFrameMemoryLength),
|
||||
_lastReceivedPictureID(0) {
|
||||
: _clock(clock), _timing(timing), _timestampMap(kDecoderFrameMemoryLength) {
|
||||
ntp_offset_ =
|
||||
_clock->CurrentNtpInMilliseconds() - _clock->TimeInMilliseconds();
|
||||
}
|
||||
@ -147,16 +144,6 @@ void VCMDecodedFrameCallback::Decoded(VideoFrame& decodedImage,
|
||||
_receiveCallback->FrameToRender(decodedImage, qp, frameInfo->content_type);
|
||||
}
|
||||
|
||||
int32_t VCMDecodedFrameCallback::ReceivedDecodedFrame(
|
||||
const uint64_t pictureId) {
|
||||
_lastReceivedPictureID = pictureId;
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint64_t VCMDecodedFrameCallback::LastReceivedPictureID() const {
|
||||
return _lastReceivedPictureID;
|
||||
}
|
||||
|
||||
void VCMDecodedFrameCallback::OnDecoderImplementationName(
|
||||
const char* implementation_name) {
|
||||
_receiveCallback->OnDecoderImplementationName(implementation_name);
|
||||
|
Reference in New Issue
Block a user