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:
@ -29,7 +29,6 @@ class MockDecodedImageCallback : public DecodedImageCallback {
|
||||
void(VideoFrame& decodedImage, // NOLINT
|
||||
absl::optional<int32_t> decode_time_ms,
|
||||
absl::optional<uint8_t> qp));
|
||||
MOCK_METHOD1(ReceivedDecodedFrame, int32_t(const uint64_t pictureId));
|
||||
};
|
||||
|
||||
class MockVideoDecoder : public VideoDecoder {
|
||||
|
@ -24,10 +24,6 @@ void DecodedImageCallback::Decoded(VideoFrame& decodedImage,
|
||||
Decoded(decodedImage, decode_time_ms.value_or(-1));
|
||||
}
|
||||
|
||||
int32_t DecodedImageCallback::ReceivedDecodedFrame(const uint64_t pictureId) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
bool VideoDecoder::PrefersLateDecoding() const {
|
||||
return true;
|
||||
}
|
||||
|
@ -38,8 +38,6 @@ class RTC_EXPORT DecodedImageCallback {
|
||||
virtual void Decoded(VideoFrame& decodedImage,
|
||||
absl::optional<int32_t> decode_time_ms,
|
||||
absl::optional<uint8_t> qp);
|
||||
|
||||
virtual int32_t ReceivedDecodedFrame(const uint64_t pictureId);
|
||||
};
|
||||
|
||||
class RTC_EXPORT VideoDecoder {
|
||||
|
Reference in New Issue
Block a user