Delete method DecodedImageCallback::ReceivedDecodedReferenceFrame
The code invoking it was deleted in https://codereview.webrtc.org/2753783002 Tbr: kwiberg@webrtc.org # Change to mock class in api/test Bug: webrtc:7408 Change-Id: I576d7aacd7dc60e42a05d2ea837fddf16594e685 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/133348 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Åsa Persson <asapersson@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27680}
This commit is contained in:
@ -147,11 +147,6 @@ void VCMDecodedFrameCallback::Decoded(VideoFrame& decodedImage,
|
||||
_receiveCallback->FrameToRender(decodedImage, qp, frameInfo->content_type);
|
||||
}
|
||||
|
||||
int32_t VCMDecodedFrameCallback::ReceivedDecodedReferenceFrame(
|
||||
const uint64_t pictureId) {
|
||||
return _receiveCallback->ReceivedDecodedReferenceFrame(pictureId);
|
||||
}
|
||||
|
||||
int32_t VCMDecodedFrameCallback::ReceivedDecodedFrame(
|
||||
const uint64_t pictureId) {
|
||||
_lastReceivedPictureID = pictureId;
|
||||
|
||||
@ -48,7 +48,6 @@ class VCMDecodedFrameCallback : public DecodedImageCallback {
|
||||
void Decoded(VideoFrame& decodedImage,
|
||||
absl::optional<int32_t> decode_time_ms,
|
||||
absl::optional<uint8_t> qp) override;
|
||||
int32_t ReceivedDecodedReferenceFrame(const uint64_t pictureId) override;
|
||||
int32_t ReceivedDecodedFrame(const uint64_t pictureId) override;
|
||||
|
||||
uint64_t LastReceivedPictureID() const;
|
||||
|
||||
@ -29,7 +29,6 @@ class MockVCMReceiveCallback : public VCMReceiveCallback {
|
||||
|
||||
MOCK_METHOD3(FrameToRender,
|
||||
int32_t(VideoFrame&, absl::optional<uint8_t>, VideoContentType));
|
||||
MOCK_METHOD1(ReceivedDecodedReferenceFrame, int32_t(const uint64_t));
|
||||
MOCK_METHOD1(OnIncomingPayloadType, void(int));
|
||||
MOCK_METHOD1(OnDecoderImplementationName, void(const char*));
|
||||
};
|
||||
|
||||
@ -67,7 +67,6 @@ class VCMReceiveCallback {
|
||||
absl::optional<uint8_t> qp,
|
||||
VideoContentType content_type) = 0;
|
||||
|
||||
virtual int32_t ReceivedDecodedReferenceFrame(const uint64_t pictureId);
|
||||
// Called when the current receive codec changes.
|
||||
virtual void OnIncomingPayloadType(int payload_type);
|
||||
virtual void OnDecoderImplementationName(const char* implementation_name);
|
||||
|
||||
@ -12,10 +12,6 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
int32_t VCMReceiveCallback::ReceivedDecodedReferenceFrame(
|
||||
const uint64_t pictureId) {
|
||||
return -1;
|
||||
}
|
||||
void VCMReceiveCallback::OnIncomingPayloadType(int payload_type) {}
|
||||
void VCMReceiveCallback::OnDecoderImplementationName(
|
||||
const char* implementation_name) {}
|
||||
|
||||
Reference in New Issue
Block a user