Make VCMReceiveCallback::FrameToRender pure virtual again

after the downstream tests have been updated.

BUG=webrtc:14728

Change-Id: I9cf7eb607f8b26acf985d90625e55bac257a2606
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/316220
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40557}
This commit is contained in:
Philipp Hancke 2023-08-15 16:13:37 +02:00 committed by WebRTC LUCI CQ
parent ff2462e54a
commit 1e42d83db4

View File

@ -50,22 +50,11 @@ enum VCMVideoProtection {
// rendered.
class VCMReceiveCallback {
public:
// TODO(bugs.webrtc.org/14728): make pure virtual again.
virtual int32_t FrameToRender(VideoFrame& videoFrame, // NOLINT
absl::optional<uint8_t> qp,
TimeDelta decode_time,
VideoContentType content_type,
VideoFrameType frame_type) {
return FrameToRender(videoFrame, qp, decode_time, content_type);
}
// TODO(bugs.webrtc.org/14728): remove this signature.
virtual int32_t FrameToRender(VideoFrame& videoFrame, // NOLINT
absl::optional<uint8_t> qp,
TimeDelta decode_time,
VideoContentType content_type) {
return FrameToRender(videoFrame, qp, decode_time, content_type,
VideoFrameType::kEmptyFrame);
}
VideoFrameType frame_type) = 0;
virtual void OnDroppedFrames(uint32_t frames_dropped);