From c4862f452d1351a7f47d794a937e615107e1f717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Thu, 29 Nov 2018 10:01:05 +0100 Subject: [PATCH] Delete method EncodedFrame::GetBitstream, part 2 Bug: webrtc:9378 Change-Id: Ic26f731aa17f47587491c918244a952098e33913 Reviewed-on: https://webrtc-review.googlesource.com/c/112287 Reviewed-by: Philip Eliasson Commit-Queue: Niels Moller Cr-Commit-Position: refs/heads/master@{#25839} --- api/video/encoded_frame.cc | 4 ---- api/video/encoded_frame.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/api/video/encoded_frame.cc b/api/video/encoded_frame.cc index d36758d3b1..26a794ec02 100644 --- a/api/video/encoded_frame.cc +++ b/api/video/encoded_frame.cc @@ -13,10 +13,6 @@ namespace webrtc { namespace video_coding { -bool EncodedFrame::GetBitstream(uint8_t* destination) const { - return false; -} - bool EncodedFrame::delayed_by_retransmission() const { return 0; } diff --git a/api/video/encoded_frame.h b/api/video/encoded_frame.h index c5a00428ed..afef0391d0 100644 --- a/api/video/encoded_frame.h +++ b/api/video/encoded_frame.h @@ -59,10 +59,6 @@ class EncodedFrame : public webrtc::VCMEncodedFrame { EncodedFrame() = default; virtual ~EncodedFrame() {} - // TODO(nisse): Deprecated and unused. Delete method and default - // implementation as soon as downstream overrides are deleted. - virtual bool GetBitstream(uint8_t* destination) const; - // When this frame was received. virtual int64_t ReceivedTime() const = 0;