Make TransformableVideoFrameInterface::GetMetadata pure virtual.
GetMetadata() has been implemented downstream and can be made pure virtual. Bug: chromium:1069295 Change-Id: I62a3be6106552d2d82d8c413c6f523d31626b0d8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/175001 Commit-Queue: Marina Ciocea <marinaciocea@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31281}
This commit is contained in:
committed by
Commit Bot
parent
4515a55eed
commit
576ad5d510
@ -50,14 +50,7 @@ class TransformableVideoFrameInterface : public TransformableFrameInterface {
|
||||
// webrtc::RtpDescriptorAuthentication is exposed in api/.
|
||||
virtual std::vector<uint8_t> GetAdditionalData() const = 0;
|
||||
|
||||
// TODO(bugs.webrtc.org/11380) make pure virtual after implementating it
|
||||
// downstream.
|
||||
virtual const VideoFrameMetadata& GetMetadata() const { return metadata_; }
|
||||
|
||||
private:
|
||||
// TODO(bugs.webrtc.org/11380) remove from interface once GetRtpVideoHeader is
|
||||
// pure virtual.
|
||||
VideoFrameMetadata metadata_;
|
||||
virtual const VideoFrameMetadata& GetMetadata() const = 0;
|
||||
};
|
||||
|
||||
// Extends the TransformableFrameInterface to expose audio-specific information.
|
||||
|
||||
Reference in New Issue
Block a user